sort --help: sort the options better alphabetically

Take the opportunity to split the long message into three parts.
This commit is contained in:
Benno Schulenberg authored and Jim Meyering committed 2008-09-19 12:27:37 +02:00
1 parent a7ea04404c
commit 3b39aa796f
1 file changed
+6 -2
+6 -2
View File
@@ -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 (_("\