[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#296367: argp_*(): OPTION_DOC should imply OPTION_NO_USAGE



Package: glibc
Severity: normal

argp options marked as OPTION_DOC are displayed (with the leading --, even)
on --usage output.  This does not make sense, these are not to be treated as
options by the parser, so they certainly should not be displayed by --usage,
let alone with the unexistent leading double-dashes.

This problem can be worked around by always using OPTION_DOC |
OPTION_NO_USAGE, but the correct behaviour would be for OPTION_DOC to imply
also OPTION_NO_USAGE.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-debian5+libata9dev1+bluesmoke
Locale: LANG=pt_BR.ISO-8859-1, LC_CTYPE=pt_BR.ISO-8859-1 (charmap=ISO-8859-1)

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh



Reply to: