[program_options] Short name strategy

14 Aug
2007
14 Aug
'07
2:02 p.m.
I didn't see anythiing in the doc but is there some compelling reason why short names for options was limited to a single character? The code fails an assert if the short name is more than one character. It just seems like an unnecessary limitation. Larry

14 Aug
14 Aug
3:31 p.m.
Larry wrote:
I didn't see anythiing in the doc but is there some compelling reason why short names for options was limited to a single character? The code fails an assert if the short name is more than one character. It just seems like an unnecessary limitation.
One-character short options is the standard command line syntax. If you want abbreviations, then abbreviated options are already supported. - Volodya
6403
Age (days ago)
6403
Last active (days ago)
1 comments
2 participants
participants (2)
-
Larry
-
Vladimir Prus