[Aptitude-devel] Bug#814038: aptitude: Provide a way to reverse order with any of the available sorting criterias

Manuel A. Fernandez Montecelo manuel.montezelo at gmail.com
Mon Mar 7 23:13:00 UTC 2016


2016-03-07 22:40 GMT+00:00 Axel Beckert <abe at debian.org>:
>
>> >but then again in the --sort
>> >section doesn't contain the policy names and it refers to the on-line
>> >guide (which in my opinion is good, to not repeat information which can
>> >easily go out of sync).
>
> While I see the advantage, I actually still prefer if they would be
> listed in the man page, too.

I'd prefer to not have it, but maybe it's the lazy person in me that
doesn't want to have new bugs in the future receiving bugs with "oh,
the list of sort-criteria is incomplete/outdated!".

But then I acknowledge that it's more practical for everyday or
occasional use to have it in the man page and not to have to go to the
guide, specially when the short names are not straightforward or easy
to remember... so it's fine by me.


>> >-O <order>, --sort <order>
>> >   Specify the order in which output from the search and versions
>> >   commands should be displayed. For instance, passing “installsize”
>> >   for <order> will list packages in order according to their size
>> >   when installed (see the section “Customizing how packages are
>> >   sorted” in the aptitude reference manual for more information).
>> >
>> >   The default sort order is name,version.
>
> I think adding the information about negation here, probably terser
> than in the User's Manual, would be good thing while not really
> duplicating data (like the list of available sorting criteria, which
> probably changes more often than the negation character).
>
> I can take care of that.

Nice!

Please do, and add the sort criteria as well.


Cheers.
-- 
Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>



More information about the Aptitude-devel mailing list