X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Frefile.c;h=b07c32d275a3e78b0dc8985acdfd7739eb61c416;hb=10e03b3fba3e01052baf92c963c46a2a5529b4e0;hp=2fe25b496fe972f09ad6885a044e5efdeba877ab;hpb=aac09b48aeb1e822be418a6b6a01b3e2f357b8cd;p=mmh diff --git a/uip/refile.c b/uip/refile.c index 2fe25b4..b07c32d 100644 --- a/uip/refile.c +++ b/uip/refile.c @@ -16,13 +16,13 @@ static struct swit switches[] = { #define LINKSW 0 { "link", 0 }, #define NLINKSW 1 - { "nolink", 0 }, + { "nolink", 2 }, #define SRCSW 2 { "src +folder", 0 }, #define FILESW 3 { "file file", 0 }, #define VERSIONSW 4 - { "version", 0 }, + { "Version", 0 }, #define HELPSW 5 { "help", 0 }, { NULL, 0 } @@ -57,9 +57,7 @@ main(int argc, char **argv) struct msgs_array msgs = { 0, 0, NULL }; struct msgs *mp; -#ifdef LOCALE setlocale(LC_ALL, ""); -#endif invo_name = mhbasename(argv[0]); context_read(); @@ -130,7 +128,7 @@ main(int argc, char **argv) */ if (filep > 0) { if (folder || msgs.size) - adios(NULL, "use -file or some messages, not both"); + adios(NULL, "use -file or msgs, not both"); opnfolds(folders, foldp); for (i = 0; i < filep; i++) if (m_file(files[i], folders, foldp, 0))