X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fshow.c;h=8e581e777959f83e8fab3e51059f2fc302b5384e;hb=2337d83d410d6a64ad7707fe7f093fc654f66e4f;hp=60f1e62eb61d5aaf653dfe29ea545588b1dd20b4;hpb=a1e2db74e04c31153801efabcc31b6f68587eeb4;p=mmh diff --git a/uip/show.c b/uip/show.c index 60f1e62..8e581e7 100644 --- a/uip/show.c +++ b/uip/show.c @@ -40,9 +40,13 @@ static struct swit switches[] = { { "draft", 0 }, #define FILESW 13 { "file file", -4 }, /* interface from showfile */ -#define VERSIONSW 14 +#define FMTPROCSW 14 + { "fmtproc program", 0 }, +#define NFMTPROCSW 15 + { "nofmtproc", 0 }, +#define VERSIONSW 16 { "version", 0 }, -#define HELPSW 15 +#define HELPSW 17 { "help", 0 }, { NULL, 0 } }; @@ -92,6 +96,7 @@ main (int argc, char **argv) done (1); case UNKWNSW: case NPROGSW: + case NFMTPROCSW: vec[vecp++] = --cp; continue; @@ -142,6 +147,7 @@ usage: case PROGSW: case LENSW: case WIDTHSW: + case FMTPROCSW: vec[vecp++] = --cp; if (!(cp = *argp++) || *cp == '-') adios (NULL, "missing argument to %s", argp[-2]);