Merge pull request #561 from vHanda/next

Add documentation on how to sort in reverse order
This commit is contained in:
John Wiegley 2018-04-09 10:09:04 -07:00 committed by GitHub
commit fd486a5975
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -214,6 +214,9 @@ Note that a comma-separated list of expressions is allowed, in which case each
sorting term is used in order to determine the final ordering. For example,
to search by date and then amount, one would use:
.Dl ledger reg --sort 'date, amount'
The sort order may be controlled with the '-' sign. For example, to sort in
reverse chronological order:
.Dl ledger reg --sort '-date'
.It Fl \-tail Ar number
Only show the last
.Ar number