[program_options] Can I use shorthand options with more than one char?
10 Jun
2013
10 Jun
'13
4 p.m.
Hello, I am currently migrating an old application with some weird command-line arguments. While using Boost program_options, I try to keep some of those arguments from the old version of the application, to assure the compatibility of some user scripts. My problem is that I couldn't find a way to add shorthand options with two or more characters. For example, if I add: ("testOption,to", "This is just a test-option") to the options_description, I only get -t as the shorthand for testOption. Is there some way to use longer shorthand options? Greetings, Stefan Köhnen
4171
Age (days ago)
4171
Last active (days ago)
0 comments
1 participants
participants (1)
-
Stefan Köhnen