Opened 8 years ago

Last modified 8 years ago

#10883 new Bugs

Using allow-long-disguise misspelled options become positionals

Reported by: pellegrini.dario@… Owned by: Vladimir Prus
Milestone: To Be Determined Component: program_options
Version: Boost 1.57.0 Severity: Problem
Keywords: Cc:

Description

Using allow-long-disguise in the parsing style, misspelled options are downgraded to positionals. The resulting error message: "too many positional options" is confusing and doesn't help at all the user to detect the error.

Change History (1)

comment:1 by Vladimir Prus, 8 years ago

Hi,

thanks for the bug report. Sadly I'm busy right now, and won't be able to take a look into this in near future. Pull request or a patch will greatly improve the chances of a fix in next Boost version.

Note: See TracTickets for help on using tickets.