Inconsistencies in handling command flags: `--flag=value` different than `--flag value`

Tomi Ollila tomi.ollila at iki.fi
Wed Apr 29 07:18:23 PDT 2020


On Tue, Apr 28 2020, Daniel Kahn Gillmor wrote:

>
> One final way we could normalize everything and make it less
> idiosyncratic, with shorter, simpler man pages: deprecate and then drop
> the --booloption/--no-booloption mechanisms, requiring --booloption=true
> or --booloption=false instead.  Once they're dropped, allow whitespace
> between "--booloption true" and "--booloption false" just like every
> other type of option.

I must say, being it perhaps slightly inconvenient to the user, that
this is IMO the best option, and just allowing 'true' and 'false'
(case-sensitively). Least chance to work how used did not expected...

> in case it's not clear: I believe that "we have succinct and yet
> complete man pages" is a convenient shorthand for "have we made this
> command-line program behave in an understandable/usable way?"

Sounds/looks like reasonable expectation...

>
>                --dkg

Tomi


More information about the notmuch mailing list