X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmhshow.c;h=bbd99eaaaff13891acdd15132828863049f22754;hb=8edf2fa76c7b6d224d3f1b8cc7a764e624c45816;hp=0baf1983b9c8f87dcb7516579a9b719d20f77cfa;hpb=39e87a75b5c2d3572ec72e717720b44af291e88a;p=mmh diff --git a/uip/mhshow.c b/uip/mhshow.c index 0baf198..bbd99ea 100644 --- a/uip/mhshow.c +++ b/uip/mhshow.c @@ -52,18 +52,9 @@ static struct swit switches[] = { #define HELPSW 13 { "help", 0 }, /* -** switches for moreproc/mhlproc -*/ -#define PROGSW 14 - { "moreproc program", -4 }, -#define LENSW 15 - { "length lines", -4 }, -#define WIDTHSW 16 - { "width columns", -4 }, -/* ** switches for debugging */ -#define DEBUGSW 17 +#define DEBUGSW 14 { "debug", -5 }, { NULL, 0 } }; @@ -80,7 +71,6 @@ extern char *cache_private; /* mhshowsbr.c */ extern int serialsw; -extern char *progsw; extern int nolist; extern char *formsw; @@ -232,22 +222,6 @@ do_cache: formsw = getcpy(etcpath(cp)); continue; - /* - ** Switches for moreproc/mhlproc - */ - case PROGSW: - if (!(progsw = *argp++) || *progsw == '-') - adios(NULL, "missing argument to %s", - argp[-2]); - continue; - - case LENSW: - case WIDTHSW: - if (!(cp = *argp++) || *cp == '-') - adios(NULL, "missing argument to %s", - argp[-2]); - continue; - case VERBSW: verbosw = 1; continue;