X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fali.c;h=61ab6b214f7f42a218f5ee8c30eaa53728196eb0;hb=dc32dd097ee3b21bb802d9f6290fb4c9299b4ee1;hp=a8812c224890d096737538f7b5b35c39718d668f;hpb=b8ff4daea27b5b2ae336c28737d469e75a45c449;p=mmh diff --git a/uip/ali.c b/uip/ali.c index a8812c2..61ab6b2 100644 --- a/uip/ali.c +++ b/uip/ali.c @@ -2,8 +2,6 @@ /* * ali.c -- list nmh mail aliases * - * $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. @@ -89,10 +87,10 @@ main (int argc, char **argv) snprintf (buf, sizeof(buf), "%s [switches] aliases ...", invo_name); print_help (buf, switches, 1); - done (1); + done (0); case VERSIONSW: print_version (invo_name); - done (1); + done (0); case ALIASW: if (!(cp = *argp++) || *cp == '-') @@ -170,7 +168,8 @@ main (int argc, char **argv) } } - return done (0); + done (0); + return 1; } static void