projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Renamed switches variable to ease automatic text extraction.
[mmh]
/
uip
/
spost.c
diff --git
a/uip/spost.c
b/uip/spost.c
index
093bad5
..
73f9b0a
100644
(file)
--- a/
uip/spost.c
+++ b/
uip/spost.c
@@
-19,21
+19,21
@@
#define MAX_SM_FIELD 1476 /* < largest hdr field sendmail will accept */
#define MAX_SM_FIELD 1476 /* < largest hdr field sendmail will accept */
-struct swit switches[] = {
+static struct swit switches[] = {
#define VERBSW 0
{ "verbose", 0 },
#define NVERBSW 1
#define VERBSW 0
{ "verbose", 0 },
#define NVERBSW 1
- { "noverbose", 0 },
+ { "noverbose", 2 },
#define WATCSW 2
{ "watch", 0 },
#define NWATCSW 3
#define WATCSW 2
{ "watch", 0 },
#define NWATCSW 3
- { "nowatch", 0 },
+ { "nowatch", 2 },
#define ALIASW 4
{ "alias aliasfile", 0 },
#define NALIASW 5
#define ALIASW 4
{ "alias aliasfile", 0 },
#define NALIASW 5
- { "noalias", 0 },
+ { "noalias", 2 },
#define VERSIONSW 6
#define VERSIONSW 6
- { "version", 0 },
+ { "Version", 0 },
#define HELPSW 7
{ "help", 0 },
#define DEBUGSW 8
#define HELPSW 7
{ "help", 0 },
#define DEBUGSW 8
@@
-147,9
+147,7
@@
main(int argc, char **argv)
char *sargv[16], buf[BUFSIZ], name[NAMESZ];
FILE *in;
char *sargv[16], buf[BUFSIZ], name[NAMESZ];
FILE *in;
-#ifdef LOCALE
setlocale(LC_ALL, "");
setlocale(LC_ALL, "");
-#endif
invo_name = mhbasename(argv[0]);
/* foil search of user profile/context */
invo_name = mhbasename(argv[0]);
/* foil search of user profile/context */