X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmhl.c;fp=uip%2Fmhl.c;h=5280ade65fdb408e59a7241384d6f89f2cff9758;hb=e6705626cc95da96d367bc147ed0419a56f7c37a;hp=18d0176c5d5c078bc1925da70826957ffa67f202;hpb=6b1eba7d43dcd9d28c0d4ac2bae23a55f487a9b8;p=mmh diff --git a/uip/mhl.c b/uip/mhl.c index 18d0176..5280ade 100644 --- a/uip/mhl.c +++ b/uip/mhl.c @@ -40,7 +40,7 @@ #define QUOTE '\\' -static struct swit mhlswitches[] = { +static struct swit switches[] = { #define FORMSW 0 { "form formfile", 0 }, #define WIDTHSW 1 @@ -240,16 +240,16 @@ main(int argc, char **argv) while ((cp = *argp++)) { if (*cp == '-') { - switch (smatch(++cp, mhlswitches)) { + switch (smatch(++cp, switches)) { case AMBIGSW: - ambigsw(cp, mhlswitches); + ambigsw(cp, switches); done(1); case UNKWNSW: adios(NULL, "-%s unknown\n", cp); case HELPSW: snprintf(buf, sizeof(buf), "%s [switches] [files ...]", invo_name); - print_help(buf, mhlswitches, 1); + print_help(buf, switches, 1); done(1); case VERSIONSW: print_version(invo_name);