summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2015-12-01 15:01:00 +0000
committerPádraig Brady <P@draigBrady.com>2015-12-04 20:42:17 +0000
commitad9dde0b2562212f2e986be298c2df9e167e2e6a (patch)
tree3fad2376e89fbb2ac421bc120a443ec898f1e3dc
parent9735fed1435718597d86f11251c8289de97a91c5 (diff)
downloadcoreutils-ad9dde0b2562212f2e986be298c2df9e167e2e6a.tar.xz
doc: improve the description of sort --random-sort
* src/sort.c (usage): Avoid mentioning the implementation, rather focusing on the result of the operation.
-rw-r--r--src/sort.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sort.c b/src/sort.c
index 38d817544..b1948f20b 100644
--- a/src/sort.c
+++ b/src/sort.c
@@ -451,7 +451,7 @@ Ordering options:\n\
"), stdout);
fputs (_("\
-n, --numeric-sort compare according to string numerical value\n\
- -R, --random-sort sort by random hash of keys. See also shuf(1)\n\
+ -R, --random-sort shuffle, but group identical keys. See shuf(1)\n\
--random-source=FILE get random bytes from FILE\n\
-r, --reverse reverse the result of comparisons\n\
"), stdout);