Re: [Boost-users] Fwd: Program Options: string iterator not dereferencable
On Monday 24 April 2006 13:13, Olaf van der Spek wrote: [I CC boost-users mailing list, where this discussion originates]
There also seem to be 'typos' in some comments. Should I report those to you too?
Yes, please.
And what about: Is it possible to allow long options without -- prefix? The code doesn't seem to support it, but I think it's handy in cases where positional options aren't used.
Did you try 'allow_long_disguise' style option?
No, but isn't that with a "-" prefix? I'd like no prefix at all.
Hmm, never though this will be requested. Anyway, it's possible with a custom style parser, as the attached example shows. For me, both: extra3 test=10 and extra3 test 10 work. HTH, Volodya
On 4/24/06, Vladimir Prus
Did you try 'allow_long_disguise' style option?
No, but isn't that with a "-" prefix? I'd like no prefix at all.
Hmm, never though this will be requested.
It's to allow things like app open <arg> app close <arg> Is there a better way to support this or is a custom parser the best way?
participants (2)
-
Olaf van der Spek
-
Vladimir Prus