[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#24949: Command-line argument parsing: named daemons
From: |
Eli Zaretskii |
Subject: |
bug#24949: Command-line argument parsing: named daemons |
Date: |
Mon, 08 Jan 2018 06:00:19 +0200 |
> From: Philipp Stephani <p.stephani2@gmail.com>
> Date: Sun, 07 Jan 2018 22:44:26 +0000
> Cc: Glenn Morris <rgm@gnu.org>, 24949@debbugs.gnu.org
>
> I've just re-checked this. The manual states: "When a long option takes an
> argument, you can use either a space or an equal sign to separate the
> option name and the argument. Thus, you can write either
> @samp{--display sugar-bombs:0.0} or @samp{--display=sugar-bombs:0.0}. "
>
> So it's even documented that both forms should work.
> We could either fix the "daemon" arg to match the documentation, or slightly
> change the manual to state that
> the space variant is only possible if the argument is mandatory (e.g. replace
> "takes" with "requires").
The manual actually already states that ("when a long option takes an
argument"), but I agree it would be good to clarify that as you
propose in the latter alternative.
Thanks.