15 Sep
2004
15 Sep
'04
12:52 p.m.
Gordon Smith wrote:
Does program_options support use of "/" instead of "-"?
Yea, there's a 'style' parameter to 'parse_command_line': http://www.boost.org/regression-logs/cs-win32_metacomm/doc/html/parse_comman... and the values which can be 'or'-ed are at http://www.boost.org/regression-logs/cs-win32_metacomm/doc/html/enum.boost.p... I think what you want is (command_line_style::unix_style ^ command_line_style::allow_dash_for_short) | command_line_style::allow_slash_for_short HTH, Volodya