projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't require a length for switch prefixes without good reason.
[mmh]
/
uip
/
mhshow.c
diff --git
a/uip/mhshow.c
b/uip/mhshow.c
index
fa7f256
..
1ee5c82
100644
(file)
--- a/
uip/mhshow.c
+++ b/
uip/mhshow.c
@@
-30,7
+30,7
@@
static struct swit switches[] = {
#define TYPESW 5
{ "type content", 0 },
#define VERSIONSW 6
#define TYPESW 5
{ "type content", 0 },
#define VERSIONSW 6
- { "version", 0 },
+ { "Version", 0 },
#define HELPSW 7
{ "help", 0 },
#define DEBUGSW 8
#define HELPSW 7
{ "help", 0 },
#define DEBUGSW 8
@@
-156,7
+156,7
@@
main(int argc, char **argv)
case FILESW:
if (mode != SHOW) {
case FILESW:
if (mode != SHOW) {
- adios(NULL, "Either call mhshow as `%s' or use -file", invo_name);
+ adios(NULL, "Either call show as `%s' or use -file", invo_name);
}
if (!(cp = *argp++) || (*cp == '-' && cp[1]))
}
if (!(cp = *argp++) || (*cp == '-' && cp[1]))
@@
-191,7
+191,7
@@
main(int argc, char **argv)
else
folder = getcpy(expandfol(cp));
} else if (mode != SHOW) {
else
folder = getcpy(expandfol(cp));
} else if (mode != SHOW) {
- adios(NULL, "Either call mhshow as `%s' or give message arguments", invo_name);
+ adios(NULL, "Either call show as `%s' or give message arguments", invo_name);
} else {
app_msgarg(&msgs, cp);
}
} else {
app_msgarg(&msgs, cp);
}