]> diplodocus.org Git - nmh/blobdiff - uip/mhl.c
Add support for batch mode.
[nmh] / uip / mhl.c
index e945f322e424e4bd7cd8ac8bdbfebcde9bca45f9..355438156940c8376aab9e69103bef68ecd663ba 100644 (file)
--- a/uip/mhl.c
+++ b/uip/mhl.c
@@ -1,6 +1,4 @@
-
-/*
- * mhl.c -- the nmh message listing program
+/* mhl.c -- the nmh message listing program
  *
  * This code is Copyright (c) 2002, by the authors of nmh.  See the
  * COPYRIGHT file in the root directory of the nmh distribution for
@@ -8,12 +6,14 @@
  */
 
 #include <h/mh.h>
+#include "h/done.h"
+#include <h/utils.h>
 
 
 int
 main (int argc, char **argv)
 {
-    if (nmh_init(argv[0], 2)) { return 1; }
+    if (nmh_init(argv[0], true, false)) { return 1; }
 
     done (mhl (argc, argv));
     return 1;