projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove -dist from man page spost(8) because it's a hidden switch.
[mmh]
/
uip
/
anno.c
diff --git
a/uip/anno.c
b/uip/anno.c
index
fe0d65f
..
c80b782
100644
(file)
--- a/
uip/anno.c
+++ b/
uip/anno.c
@@
-26,25
+26,25
@@
static struct swit switches[] = {
#define DATESW 1
{ "date", 0 },
#define NDATESW 2
#define DATESW 1
{ "date", 0 },
#define NDATESW 2
- { "nodate", 0 },
+ { "nodate", 2 },
#define TEXTSW 3
{ "text body", 0 },
#define VERSIONSW 4
#define TEXTSW 3
{ "text body", 0 },
#define VERSIONSW 4
- { "version", 0 },
+ { "Version", 0 },
#define HELPSW 5
{ "help", 0 },
#define LISTSW 6
#define HELPSW 5
{ "help", 0 },
#define LISTSW 6
- { "list", 1 },
+ { "list", 0 },
#define DELETESW 7
#define DELETESW 7
- { "delete", 2 },
+ { "delete", 0 },
#define NUMBERSW 8
#define NUMBERSW 8
- { "number", 2 },
+ { "number", 0 },
#define APPENDSW 9
#define APPENDSW 9
- { "append", 1 },
+ { "append", 0 },
#define PRESERVESW 10
#define PRESERVESW 10
- { "preserve", 1 },
+ { "preserve", 0 },
#define NOPRESERVESW 11
#define NOPRESERVESW 11
- { "nopreserve", 3 },
+ { "nopreserve", 2 },
{ NULL, 0 }
};
{ NULL, 0 }
};
@@
-188,7
+188,7
@@
main(int argc, char **argv)
}
}
}
}
- if (file && (folder || !msgs.size)) {
+ if (file && (folder || msgs.size)) {
adios(NULL, "Don't intermix files and messages.");
}
if (!datesw && !text) {
adios(NULL, "Don't intermix files and messages.");
}
if (!datesw && !text) {