diff options
author | Benno Schulenberg <bensberg@justemail.net> | 2008-08-24 15:37:19 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-09-19 12:27:37 +0200 |
commit | 3b39aa796fd57af518d6ab9bbc63ef171cefe605 (patch) | |
tree | 6fd143771cf80cc97506e02d13b22f1d86b71a8c /src | |
parent | a7ea04404c4fc30647dd958723ac546a83c9076f (diff) | |
download | coreutils-3b39aa796fd57af518d6ab9bbc63ef171cefe605.tar.xz |
sort --help: sort the options better alphabetically
Take the opportunity to split the long message into three parts.
Diffstat (limited to 'src')
-rw-r--r-- | src/sort.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/sort.c b/src/sort.c index 37eb85429..44bfbe075 100644 --- a/src/sort.c +++ b/src/sort.c @@ -335,14 +335,18 @@ Ordering options:\n\ -g, --general-numeric-sort compare according to general numerical value\n\ -i, --ignore-nonprinting consider only printable characters\n\ -M, --month-sort compare (unknown) < `JAN' < ... < `DEC'\n\ +"), stdout); + fputs (_("\ -n, --numeric-sort compare according to string numerical value\n\ -R, --random-sort sort by random hash of keys\n\ - -V, --version-sort sort by numeric version (see strverscmp(3C))\n\ --random-source=FILE get random bytes from FILE (default /dev/urandom)\n\ + -r, --reverse reverse the result of comparisons\n\ +"), stdout); + fputs (_("\ --sort=WORD sort according to WORD:\n\ general-numeric -g, month -M, numeric -n,\n\ random -R, version -V\n\ - -r, --reverse reverse the result of comparisons\n\ + -V, --version-sort sort by numeric version (see strverscmp(3))\n\ \n\ "), stdout); fputs (_("\ |