Unbreak rev 1.7's getopt usage. The -f switch does not take an argument.
The stray ':' was from the defunct '-g' group arg.
This commit is contained in:
parent
18a6073100
commit
12d5df2b3c
@ -55,7 +55,7 @@ main(int argc, char *argv[])
|
||||
|
||||
nochdir = noclose = 1;
|
||||
pidfile = user = NULL;
|
||||
while ((ch = getopt(argc, argv, "-cf:p:u:")) != -1) {
|
||||
while ((ch = getopt(argc, argv, "-cfp:u:")) != -1) {
|
||||
switch (ch) {
|
||||
case 'c':
|
||||
nochdir = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user