projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sbr/execprog.c: Fix the return value
[mmh]
/
uip
/
refile.c
diff --git
a/uip/refile.c
b/uip/refile.c
index
e4433bd
..
b07c32d
100644
(file)
--- a/
uip/refile.c
+++ b/
uip/refile.c
@@
-16,7
+16,7
@@
static struct swit switches[] = {
#define LINKSW 0
{ "link", 0 },
#define NLINKSW 1
#define LINKSW 0
{ "link", 0 },
#define NLINKSW 1
- { "nolink", 0 },
+ { "nolink", 2 },
#define SRCSW 2
{ "src +folder", 0 },
#define FILESW 3
#define SRCSW 2
{ "src +folder", 0 },
#define FILESW 3
@@
-57,9
+57,7
@@
main(int argc, char **argv)
struct msgs_array msgs = { 0, 0, NULL };
struct msgs *mp;
struct msgs_array msgs = { 0, 0, NULL };
struct msgs *mp;
-#ifdef LOCALE
setlocale(LC_ALL, "");
setlocale(LC_ALL, "");
-#endif
invo_name = mhbasename(argv[0]);
context_read();
invo_name = mhbasename(argv[0]);
context_read();
@@
-130,7
+128,7
@@
main(int argc, char **argv)
*/
if (filep > 0) {
if (folder || msgs.size)
*/
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))
opnfolds(folders, foldp);
for (i = 0; i < filep; i++)
if (m_file(files[i], folders, foldp, 0))