[program_options] Short name strategy

14 Aug
2007
14 Aug
'07
8:02 a.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
9:31 a.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
6547
Age (days ago)
6547
Last active (days ago)
1 comments
2 participants
participants (2)
-
Larry
-
Vladimir Prus