mirror of
https://github.com/bklang/ldap2dns.git
synced 2025-10-26 14:04:14 -04:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user