Opened 13 years ago
Closed 13 years ago
#3498 closed Bugs (fixed)
program_options::command_line_style::case_insensitive doesn't work
Reported by: | 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 , 13 years ago
comment:2 by , 13 years ago
Sascha,
I don't recall intentionally removing this functionality. It probably has slipped while I was refactoring code.
comment:3 by , 13 years ago
Milestone: | Boost 1.41.0 → Boost 1.42.0 |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:4 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
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.
Volodya, any special reason why this was removed/disabled?
Cheers, Sascha