[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: |
Thu, 07 Sep 2017 05:31:46 +0300 |
> From: Philipp Stephani <p.stephani2@gmail.com>
> Date: Wed, 06 Sep 2017 18:32:18 +0000
> Cc: rgm@gnu.org, 24949@debbugs.gnu.org
>
> Why would we want to do that? Documentation should describe the
> software, not our wishes. If we want to change how the software
> works, we should change the code first, and only after that change the
> documentation. Am I missing something here?
>
> For almost all arguments all four variants (-foo bar, --foo bar, -foo=bar,
> --foo=bar) appear to work, for long and
> for short options. Either we should document that they work (that's what
> everybody expects by now), or turn
> the unwanted versions into explicit errors.
> We should generally change the code and the documentation at the same time,
> to make sure they are
> consistent.
I agree with the last sentence. It's almost exactly what I said. The
rest of what you write sounds like a contradiction to me, as currently
the only inconsistency I see is that the emacs.1 man page creates a
wrong impression that omitting the = would work.