X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fsend.c;h=c454f7655fd9c5482d1c5db57bc13048976bfb69;hp=bcbd54ddea1aebc1c609373d6a4f54380218c5af;hb=9677896bbb11f7b49ca3e1665601407b6c7a459f;hpb=f2a6db98791abab22db95b9a4a01516859d92103 diff --git a/uip/send.c b/uip/send.c index bcbd54d..c454f76 100644 --- a/uip/send.c +++ b/uip/send.c @@ -22,7 +22,6 @@ #include int debugsw = 0; /* global */ -int verbsw = 0; char *altmsg = NULL; char *annotext = NULL; char *distfile = NULL; @@ -61,13 +60,9 @@ static struct swit switches[] = { { "verbose", 0 }, #define NVERBSW 3 { "noverbose", 2 }, -#define WATCSW 4 - { "watch", 0 }, -#define NWATCSW 5 - { "nowatch", 2 }, -#define VERSIONSW 6 +#define VERSIONSW 4 { "Version", 0 }, -#define HELPSW 7 +#define HELPSW 5 { "help", 0 }, { NULL, 0 } }; @@ -119,19 +114,11 @@ main(int argc, char **argv) print_version(invo_name); done(1); + case DEBUGSW: + debugsw++; + /* fall */ case VERBSW: - verbsw++; - vec[vecp++] = --cp; - continue; case NVERBSW: - verbsw = 0; - vec[vecp++] = --cp; - continue; - - case DEBUGSW: - debugsw++; /* fall */ - case WATCSW: - case NWATCSW: vec[vecp++] = --cp; continue;