[Program Options] Multi-char option alias

18 Nov
2008
18 Nov
'08
12:02 p.m.
Hi everyone, is there a way to declare an alias for an options with more than one character, for example: options_description desc("Allowed options") desc.addOptions() ("disable-header,dh", "Disable") ; I'm using Boost 1.37.0 on Linux x64 and when I try to run the program it displays: "-d [ --disable-header ] Disable" The character 'd' is otherwise used (and 'h' is also not available) Do you know how to tell program_options to use a multi-character alias? Thanks in advance
5941
Age (days ago)
5941
Last active (days ago)
0 comments
1 participants
participants (1)
-
Uli Köhler