]> diplodocus.org Git - nmh/blobdiff - uip/scan.c
Typo.
[nmh] / uip / scan.c
index 05f8bf88c78aad6ad439fecc04eac7b04aefaff9..f49aa60fe7e8a30a52ef110d7bb1f600102a814f 100644 (file)
@@ -2,8 +2,6 @@
 /*
  * scan.c -- display a one-line "scan" listing of folder or messages
  *
- * $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.
@@ -101,10 +99,10 @@ main (int argc, char **argv)
                    snprintf (buf, sizeof(buf), "%s [+folder] [msgs] [switches]",
                        invo_name);
                    print_help (buf, switches, 1);
-                   done (1);
+                   done (0);
                case VERSIONSW:
                    print_version(invo_name);
-                   done (1);
+                   done (0);
 
                case CLRSW: 
                    clearflag++;
@@ -326,5 +324,6 @@ main (int argc, char **argv)
     if (clearflag)
        clear_screen ();
 
-    return done (0);
+    done (0);
+    return 1;
 }