X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/1691e80890e5d8ba258c51c214a3e91880e1db2b..1ff8d41acece861cf6d4d017849e4ea927ab57b1:/uip/rcvpack.c diff --git a/uip/rcvpack.c b/uip/rcvpack.c index 1520cbe1..1e85f803 100644 --- a/uip/rcvpack.c +++ b/uip/rcvpack.c @@ -8,8 +8,8 @@ #include #include #include -#include -#include +#include +#include static struct swit switches[] = { #define MBOXSW 0 @@ -19,7 +19,7 @@ static struct swit switches[] = { #define VERSIONSW 2 { "version", 0 }, #define HELPSW 3 - { "help", 4 }, + { "help", 0 }, { NULL, 0 } }; @@ -99,5 +99,5 @@ main (int argc, char **argv) if (mbx_close (file, md) == NOTOK) done (RCV_MBX); - done (RCV_MOK); + return done (RCV_MOK); }