X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/1691e80890e5d8ba258c51c214a3e91880e1db2b..f422ef658bd5a190e08177c67361c874e679c526:/uip/vmh.c diff --git a/uip/vmh.c b/uip/vmh.c index 8b398e60..8267f01a 100644 --- a/uip/vmh.c +++ b/uip/vmh.c @@ -3,6 +3,10 @@ * vmh.c -- visual front-end to nmh * * $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 @@ -106,7 +110,7 @@ static struct swit switches[] = { #define VERSIONSW 3 { "version", 0 }, #define HELPSW 4 - { "help", 4 }, + { "help", 0 }, { NULL, 0 } }; @@ -278,7 +282,7 @@ main (int argc, char **argv) vmh (); - done (0); + return done (0); } @@ -1432,13 +1436,14 @@ TSTPser (int sig) /* MISCELLANY */ -void +int done (int status) { TTYoff (); pFIN (); exit (status); + return 1; /* dead code to satisfy the compiler */ }