]> diplodocus.org Git - nmh/blobdiff - uip/whatnow.c
Added warning about when post(1) can't refile(1) a draft.
[nmh] / uip / whatnow.c
index 083650ed46896f1e52775d022d93207d4f9f1f40..4fffddb95d4d134bed4ca3b96c8685fecca67dbd 100644 (file)
@@ -1,8 +1,8 @@
-
-/*
- * whatnow.c -- the nmh `WhatNow' shell
+/* whatnow.c -- the nmh `WhatNow' shell
  *
- * $Id$
+ * This code is Copyright (c) 2002, by the authors of nmh.  See the
+ * COPYRIGHT file in the root directory of the nmh distribution for
+ * complete copyright information.
  */
 
 #include <h/mh.h>
@@ -11,8 +11,7 @@
 int
 main (int argc, char **argv)
 {
-#ifdef LOCALE
-    setlocale(LC_ALL, "");
-#endif
-    WhatNow (argc, argv);
+    if (nmh_init(argv[0], 2)) { return 1; }
+
+    return WhatNow (argc, argv);
 }