From dc6c45394a06750eab463a2523406eed6c77e2e1 Mon Sep 17 00:00:00 2001 From: markus schnalke Date: Sun, 16 Oct 2011 19:50:26 +0200 Subject: [PATCH] Fixed broken swit numbering (there are more files to fix) --- uip/inc.c | 14 +++++++------- uip/msgchk.c | 4 ++-- uip/spost.c | 8 ++++---- uip/viamail.c | 10 +++++----- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/uip/inc.c b/uip/inc.c index ca1cc72..f9aae76 100644 --- a/uip/inc.c +++ b/uip/inc.c @@ -52,19 +52,19 @@ static struct swit switches[] = { { "form formatfile", 0 }, #define FMTSW 6 { "format string", 5 }, -#define SILSW 12 +#define SILSW 7 { "silent", 0 }, -#define NSILSW 13 +#define NSILSW 8 { "nosilent", 0 }, -#define TRNCSW 14 +#define TRNCSW 9 { "truncate", 0 }, -#define NTRNCSW 15 +#define NTRNCSW 10 { "notruncate", 0 }, -#define WIDTHSW 16 +#define WIDTHSW 11 { "width columns", 0 }, -#define VERSIONSW 17 +#define VERSIONSW 12 { "version", 0 }, -#define HELPSW 18 +#define HELPSW 13 { "help", 0 }, }; diff --git a/uip/msgchk.c b/uip/msgchk.c index 0bec675..5f31685 100644 --- a/uip/msgchk.c +++ b/uip/msgchk.c @@ -20,9 +20,9 @@ static struct swit switches[] = { { "notify type", 0 }, #define NNOTESW 3 { "nonotify type", 0 }, -#define VERSIONSW 7 +#define VERSIONSW 4 { "version", 0 }, -#define HELPSW 8 +#define HELPSW 5 { "help", 0 }, }; diff --git a/uip/spost.c b/uip/spost.c index db16f38..80c6183 100644 --- a/uip/spost.c +++ b/uip/spost.c @@ -60,13 +60,13 @@ struct swit switches[] = { { "debug", -5 }, #define DISTSW 18 { "dist", -4 }, /* interface from dist */ -#define PUSHSW 22 /* fork to sendmail then exit */ +#define PUSHSW 19 /* fork to sendmail then exit */ { "push", -4 }, -#define NPUSHSW 23 /* exec sendmail */ +#define NPUSHSW 20 /* exec sendmail */ { "nopush", -6 }, -#define LIBSW 24 +#define LIBSW 21 { "library directory", -7 }, -#define ANNOSW 25 +#define ANNOSW 22 { "idanno number", -6 }, { NULL, 0 } }; diff --git a/uip/viamail.c b/uip/viamail.c index ccca115..25e65c2 100644 --- a/uip/viamail.c +++ b/uip/viamail.c @@ -34,15 +34,15 @@ static struct swit switches[] = { { "description text", 0 }, #define COMMENTSW 5 { "comment text", 0 }, -#define VERBSW 7 +#define VERBSW 6 { "verbose", 0 }, -#define NVERBSW 8 +#define NVERBSW 7 { "noverbose", 0 }, -#define VERSIONSW 9 +#define VERSIONSW 8 { "version", 0 }, -#define HELPSW 10 +#define HELPSW 9 { "help", 0 }, -#define DEBUGSW 11 +#define DEBUGSW 10 { "debug", -5 }, { NULL, 0 } }; -- 1.7.10.4