X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fvmh.c;h=8267f01a67617ca5361bb54f2fdc0a7efecda18a;hb=945aa62b814966a1266a5524bd089a74e0999cd1;hp=8b398e6053ba0f5232aada9f29292c7ba33b78d3;hpb=1691e80890e5d8ba258c51c214a3e91880e1db2b;p=mmh diff --git a/uip/vmh.c b/uip/vmh.c index 8b398e6..8267f01 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 */ }