From: Benno Schulenberg Date: Sun, 24 Aug 2008 13:37:19 +0000 (+0200) Subject: sort --help: sort the options better alphabetically X-Git-Tag: v7.0~36 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3b39aa796fd57af518d6ab9bbc63ef171cefe605;p=platform%2Fupstream%2Fcoreutils.git sort --help: sort the options better alphabetically Take the opportunity to split the long message into three parts. --- diff --git a/src/sort.c b/src/sort.c index 37eb854..44bfbe0 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 (_("\