[Nut-upsdev] [nut-commits] svn commit r1376 - in trunk: . server
Arnaud Quette
aquette.dev at gmail.com
Wed Apr 2 13:18:54 UTC 2008
2008/4/2, Arjen de Korte <nut+devel at de-korte.org>:
> >> I'm still not too sure if we're doing people a favor with this, but
> >> I'll leave it up to you if this is a good thing or not.
> > I don't see your point here: having a sorted list gives a clear
> > picture to the user.
>
>
> That depends...
>
>
> > while an unsorted list can be disappointing.
> > Or have I missed something obvious?!
>
>
> By sorting this list alphabetically, you're removing the possibility to
> group commands logically. The 'calibrate.*' and 'test.*' commands are
> similar, so it is nice to list them as one group. By sorting commands
> alphabetically, the 'load.*' and 'shutdown.*' commands will be put in
> between them. This will look different for quite a few drivers.
>
right. so the solution might be between, like using the order given in
cmdvartab.
that allows both sorting and grouping smartly.
note that this is just cosmetic, and not urging for 2.2.2...
Arnaud
--
Linux / Unix Expert R&D - MGE Office Protection Systems - http://www.mgeops.com
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://people.debian.org/~aquette/
Free Software Developer - http://arnaud.quette.free.fr/
More information about the Nut-upsdev
mailing list