Modify

Opened 8 years ago

Closed 8 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

Attachments (0)

Change History (4)

comment:1 Changed 8 years ago by Sascha Ochsenknecht

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

Cheers, Sascha

comment:2 Changed 8 years ago by Vladimir Prus

Sascha,

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

comment:3 Changed 8 years ago by Sascha Ochsenknecht

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

comment:4 Changed 8 years ago by Sascha Ochsenknecht

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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Sascha Ochsenknecht.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.