Fix getopt call to include new flags

git-svn-id: https://svn.alkaloid.net/gpl/ldap2dns/trunk@461 06cd67b6-e706-0410-b29e-9de616bca6e9
This commit is contained in:
Ben Klang
2008-07-24 18:57:34 +00:00
parent 37a71f6fa2
commit 0af354243e

View File

@@ -377,12 +377,12 @@ static int parse_options()
{"version", 0, 0, 'V'},
{"timeout", 1, 0, 't'},
{"maxrecords", 1, 0, 'M'},
{"daemonize", 1, 0, 'd'},
{"foreground", 1, 0, 'f'},
{"daemonize", 0, 0, 'd'},
{"foreground", 0, 0, 'f'},
{0, 0, 0, 0}
};
c = getopt_long(main_argc, main_argv, "b:D:e:h:H:o:p:u:M:m:t:Vv::w:L::", long_options, &option_index);
c = getopt_long(main_argc, main_argv, "b:dD:e:fh:H:o:p:u:M:m:t:Vv::w:L::", long_options, &option_index);
if (c == -1)
break;