projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
hesiod and krb5 test changes. add --with-locking to INSTALL
[mmh]
/
uip
/
flist.c
diff --git
a/uip/flist.c
b/uip/flist.c
index
0e2b161
..
dac84d5
100644
(file)
--- a/
uip/flist.c
+++ b/
uip/flist.c
@@
-58,7
+58,7
@@
static struct swit switches[] = {
#define VERSIONSW 13
{ "version", 0 },
#define HELPSW 14
#define VERSIONSW 13
{ "version", 0 },
#define HELPSW 14
- { "help", 4 },
+ { "help", 0 },
{ NULL, 0 }
};
{ NULL, 0 }
};
@@
-232,9
+232,11
@@
main(int argc, char **argv)
(size_t) (maxfolders * sizeof(*foldersToDo)))))
adios (NULL, "unable to reallocate folder name storage");
}
(size_t) (maxfolders * sizeof(*foldersToDo)))))
adios (NULL, "unable to reallocate folder name storage");
}
- if (*cp == '+')
- ++cp;
- foldersToDo[numfolders++] = cp;
+ if (*cp == '+' || *cp == '@') {
+ foldersToDo[numfolders++] =
+ path (cp + 1, *cp == '+' ? TFOLDER : TSUBCWF);
+ } else
+ foldersToDo[numfolders++] = cp;
}
}
}
}
@@
-276,7
+278,7
@@
main(int argc, char **argv)
ScanFolders();
qsort(folders, nFolders, sizeof(struct Folder), (qsort_comp) CompareFolders);
PrintFolders();
ScanFolders();
qsort(folders, nFolders, sizeof(struct Folder), (qsort_comp) CompareFolders);
PrintFolders();
- done (0);
+ return done (0);
}
/*
}
/*