X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/1691e80890e5d8ba258c51c214a3e91880e1db2b..43d8b10e72cbb9af18cf8a3e7150a9b6d05bf9ee:/uip/ap.c?ds=sidebyside 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 {