X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fanno.c;h=2647d971a034af247ead81f18c30d9651cb4fc59;hp=3958eb148e6bf9332d401bec70de45b7eb21ca0b;hb=ccf4f175ef4c4e7522f9510a4a1149c15d810dd9;hpb=bd60514e13b4b1d4e2f726e6fc54da9eff6a263e diff --git a/uip/anno.c b/uip/anno.c index 3958eb1..2647d97 100644 --- a/uip/anno.c +++ b/uip/anno.c @@ -26,7 +26,7 @@ static struct swit switches[] = { #define DATESW 1 { "date", 0 }, #define NDATESW 2 - { "nodate", 0 }, + { "nodate", 2 }, #define TEXTSW 3 { "text body", 0 }, #define VERSIONSW 4 @@ -44,7 +44,7 @@ static struct swit switches[] = { #define PRESERVESW 10 { "preserve", 0 }, #define NOPRESERVESW 11 - { "nopreserve", 0 }, + { "nopreserve", 2 }, { NULL, 0 } }; @@ -74,9 +74,7 @@ main(int argc, char **argv) int append = 0; /* append annotations instead of default prepend */ int number = 0; /* delete specific number of like elements if set */ -#ifdef LOCALE setlocale(LC_ALL, ""); -#endif invo_name = mhbasename(argv[0]); context_read();