X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fap.c;h=dde1175986f2ae18170b1352489f5a701d901224;hp=7e16b926354d82963b521fa4551dbf21098fa8b8;hb=017a82124bf2ea39ced5aa4c8f969c18b3c2fb90;hpb=1691e80890e5d8ba258c51c214a3e91880e1db2b diff --git a/uip/ap.c b/uip/ap.c index 7e16b92..dde1175 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 {