X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;ds=sidebyside;f=uip%2Fmhshow.c;fp=uip%2Fmhshow.c;h=ac6b0c3e59c9fc6534b1942c1e4b67836206e20c;hb=31dc797eb5178970d68962ca8939da3fd9a8efda;hp=6e694c41d0ab103faa190251071a389ee6eaefc7;hpb=85efd688c798fc782567d3f9c283064a01d5c9fe;p=mmh diff --git a/uip/mhshow.c b/uip/mhshow.c index 6e694c4..ac6b0c3 100644 --- a/uip/mhshow.c +++ b/uip/mhshow.c @@ -9,7 +9,6 @@ #include #include #include -#include #include #include #include @@ -19,31 +18,27 @@ #include static struct swit switches[] = { -#define CHECKSW 0 - { "check", 0 }, -#define NCHECKSW 1 - { "nocheck", 0 }, -#define VERBSW 2 +#define VERBSW 0 { "verbose", 0 }, -#define NVERBSW 3 +#define NVERBSW 1 { "noverbose", 0 }, -#define FILESW 4 /* interface from show */ +#define FILESW 2 /* interface from show */ { "file file", 0 }, -#define FORMSW 5 +#define FORMSW 3 { "form formfile", 0 }, -#define PARTSW 6 +#define PARTSW 4 { "part number", 0 }, -#define TYPESW 7 +#define TYPESW 5 { "type content", 0 }, -#define RCACHESW 8 +#define RCACHESW 6 { "rcache policy", 0 }, -#define WCACHESW 9 +#define WCACHESW 7 { "wcache policy", 0 }, -#define VERSIONSW 10 +#define VERSIONSW 8 { "version", 0 }, -#define HELPSW 11 +#define HELPSW 9 { "help", 0 }, -#define DEBUGSW 12 +#define DEBUGSW 10 { "debug", -5 }, { NULL, 0 } }; @@ -162,13 +157,6 @@ do_cache: } continue; - case CHECKSW: - checksw++; - continue; - case NCHECKSW: - checksw = 0; - continue; - case PARTSW: if (!(cp = *argp++) || *cp == '-') adios(NULL, "missing argument to %s",