When calling getopt_long indicate that the 'd' switch takes an optional

argument, whereas the 'D' switch takes no argument at all.
This commit is contained in:
Nick Clifton
2000-05-26 21:11:33 +00:00
parent 3b35ec75cb
commit a799cbe274
2 changed files with 7 additions and 1 deletions

View File

@ -179,7 +179,7 @@ DEFUN (main, (argc, argv), int argc AND char **argv)
xmalloc_set_program_name (whoami);
while ((ch = getopt_long (argc, argv,
"aA::bBcCdD::e:E:f:F:hiI:J::k:lLm:n::N::O:p::P::q::Q::st:Tvw:xyzZ::",
"aA::bBcCd::De:E:f:F:hiI:J::k:lLm:n::N::O:p::P::q::Q::st:Tvw:xyzZ::",
long_options, 0))
!= EOF)
{