Opened 13 years ago

Closed 13 years ago

#3498 closed Bugs (fixed)

program_options::command_line_style::case_insensitive doesn't work

Reported by: Roie Marianer <roie.marianer@…> Owned by: Sascha Ochsenknecht
Milestone: Boost 1.42.0 Component: program_options
Version: Boost 1.40.0 Severity: Problem
Keywords: Cc:

Description

It seems the case_insensitive option has been disabled since 2005. If it isn't coming back, perhaps it should be removed or commented out of the interface, as its existence there is misleading. At the very least, a "this doesn't work" comment should exist in cmdline.hpp

Change History (4)

comment:1 by Sascha Ochsenknecht, 13 years ago

Volodya, any special reason why this was removed/disabled?

Cheers, Sascha

comment:2 by Vladimir Prus, 13 years ago

Sascha,

I don't recall intentionally removing this functionality. It probably has slipped while I was refactoring code.

comment:3 by Sascha Ochsenknecht, 13 years ago

Milestone: Boost 1.41.0Boost 1.42.0
Owner: changed from Vladimir Prus to Sascha Ochsenknecht
Status: newassigned

comment:4 by Sascha Ochsenknecht, 13 years ago

Resolution: fixed
Status: assignedclosed

I reactivate the case insensitive code. Two additional style flags added: short_case_insensitive and long_case_insensitive (the existing case_insensitive flags is the combination of both).

I'm going to add some more tests, but solution is already on trunk.

Note: See TracTickets for help on using tickets.