X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fwhatnow.c;fp=uip%2Fwhatnow.c;h=118afe8554a7a1e00d635fa9a1f2d9cc2633973e;hp=273921c9c24d7aae269d1315f0a0f41da97a639b;hb=e6705626cc95da96d367bc147ed0419a56f7c37a;hpb=6b1eba7d43dcd9d28c0d4ac2bae23a55f487a9b8 diff --git a/uip/whatnow.c b/uip/whatnow.c index 273921c..118afe8 100644 --- a/uip/whatnow.c +++ b/uip/whatnow.c @@ -41,7 +41,7 @@ #include #include -static struct swit whatnowswitches[] = { +static struct swit switches[] = { #define EDITRSW 0 { "editor editor", 0 }, #define PRMPTSW 1 @@ -134,9 +134,9 @@ main(int argc, char **argv) while ((cp = *argp++)) { if (*cp == '-') { - switch (smatch(++cp, whatnowswitches)) { + switch (smatch(++cp, switches)) { case AMBIGSW: - ambigsw(cp, whatnowswitches); + ambigsw(cp, switches); done(1); case UNKWNSW: adios(NULL, "-%s unknown", cp); @@ -145,7 +145,7 @@ main(int argc, char **argv) snprintf(buf, sizeof(buf), "%s [switches] [file]", invo_name); - print_help(buf, whatnowswitches, 1); + print_help(buf, switches, 1); done(1); case VERSIONSW: print_version(invo_name);