Boost logo

Boost :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-06-06 08:37:58


Neal D. Becker wrote:
> Does/will program options support this style:
> -w1=10 -w2=20
> w1 and w2 are options (with args) that act just the same as long options,
> but use a single '-' instead of the usual '--'.

this style is supported already. The 'cmdline::allow_long_disguise' style
option enables it. You can pass

   cmdline::default_style | cmdlike::allow_long_disguise

to 'parse_command_line' function, and all should work.

- Volodya

Boost list run by bdawes at, gregod at, cpdaniel at, john at