[Swan-dev] pluto: no code change. just sort the getopt options
antony at phenome.org
Tue Sep 12 19:59:59 UTC 2017
On Tue, Sep 12, 2017 at 03:08:59PM -0400, D. Hugh Redelmeier wrote:
> commit 29c0396e3ec932839d769f68b71fcb2a64094880
> Author: Antony Antony <antony at phenome.org>
> Date: Tue Sep 12 01:47:45 2017 +0200
> pluto: no code change. just sort the getopt options
> These were intentionally in a logical order (grouping). Definitely
> not alphabetical. This remains in the comment:
> * The table should be ordered to maximize the clarity of --help.
> If you changed the order, I hope you carefully fixed where the
> linebreaks appear. As explained in the comment, a '>' after the
> '\0' causes a linebreak in the --help output.
No I missed it Thanks for pointing this out. Lets revert my attempt to
improve code redability in favor clarity of --help.
> Perhaps the original structure makes less sense now the collection has
> grown so vast.
very likely. It is a matter of taste.
> Perhaps people who added or removed options didn't bother maintaining
> these secondary properties.
In the past my attempts to add options pluto was not successful, and I
usually request Paul to add them, now I am beginning to understand the magic
of this table.
> This change makes me sad.
Are you happy now?
More information about the Swan-dev