#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 }
struct msgs_array msgs = { 0, 0, NULL };
struct msgs *mp;
-#ifdef LOCALE
setlocale(LC_ALL, "");
-#endif
invo_name = mhbasename(argv[0]);
context_read();
if (foldp == 0)
adios(NULL, "no folder specified");
-#ifdef WHATNOW
- if (!msgs.size && !foldp && !filep && (cp = getenv("mhdraft")) && *cp)
- files[filep++] = cp;
-#endif /* WHATNOW */
-
/*
** We are refiling a file to the folders
*/
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))