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:
Peter Wemm 2007-04-19 16:43:30 +00:00
parent 18a6073100
commit 12d5df2b3c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=168868

View File

@ -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;