Re: Optional option argument
Anthony Carrico 08 Jul 2020 23:41 UTC
On 7/8/20 1:31 PM, Marc Nieper-Wißkirchen wrote:
> The separating whitespace is only forbidden for options with optional
> arguments, about which I was talking. (Unless I did get something
> wrong.)
This "optional option argument" case must be extremely rare in practice.
I rarely use "-xarg", preferring "-x" "arg", and yet I don't think I've
every been surprised by a parsing failure. Although, I do prefer
"--longx=arg", so perhaps I have avoided this issue.
--
Anthony Carrico