X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/1691e80890e5d8ba258c51c214a3e91880e1db2b..e66e25ec491d0fb3df708000d8494b4d598f0263:/uip/ap.c diff --git a/uip/ap.c b/uip/ap.c index 7e16b926..dde11759 100644 --- a/uip/ap.c +++ b/uip/ap.c @@ -8,6 +8,7 @@ #include #include #include +#include #define NADDRS 100 @@ -30,7 +31,7 @@ static struct swit switches[] = { #define VERSIONSW 5 { "version", 0 }, #define HELPSW 6 - { "help", 4 }, + { "help", 0 }, { NULL, 0 } }; @@ -146,7 +147,7 @@ main (int argc, char **argv) for (addrp = 0; addrs[addrp]; addrp++) status += process (addrs[addrp], width, normalize); - done (status); + return done (status); } struct pqpair {