X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fmhshow.c;h=a1fff551b36c7fa1f4b5261219a5dfc06957de74;hp=1f37c0e8ac0564ae1d34e6676bffefbb134771be;hb=ffe93d6dc707aaf92529cefb38a1814956b48c9e;hpb=a4605f68e8ff04d4539e402a6fb00ff188944e1c diff --git a/uip/mhshow.c b/uip/mhshow.c index 1f37c0e..a1fff55 100644 --- a/uip/mhshow.c +++ b/uip/mhshow.c @@ -12,7 +12,6 @@ #include #include #include -#include #include #include #include @@ -52,23 +51,17 @@ static struct swit switches[] = { { "version", 0 }, #define HELPSW 13 { "help", 0 }, - /* ** switches for moreproc/mhlproc */ -#define PROGSW 16 +#define PROGSW 14 { "moreproc program", -4 }, -#define NPROGSW 17 - { "nomoreproc", -3 }, -#define LENSW 18 - { "length lines", -4 }, -#define WIDTHSW 19 +#define WIDTHSW 15 { "width columns", -4 }, - /* ** switches for debugging */ -#define DEBUGSW 20 +#define DEBUGSW 16 { "debug", -5 }, { NULL, 0 } }; @@ -87,7 +80,6 @@ extern char *cache_private; extern int serialsw; extern char *progsw; extern int nolist; -extern int nomore; /* flags for moreproc/header display */ extern char *formsw; /* mhmisc.c */ @@ -246,11 +238,7 @@ do_cache: adios(NULL, "missing argument to %s", argp[-2]); continue; - case NPROGSW: - nomore++; - continue; - case LENSW: case WIDTHSW: if (!(cp = *argp++) || *cp == '-') adios(NULL, "missing argument to %s",