summaryrefslogtreecommitdiff
path: root/src/sort.c
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2008-08-18 21:50:27 -0600
committerEric Blake <ebb9@byu.net>2008-08-18 21:52:04 -0600
commitedd292f8d4a5845bcc0d01ab080a6fc9f51a36fa (patch)
tree794f9f20771ae2601a8aa1bb6821b3df29bdf974 /src/sort.c
parent929479026b3fd5910c165c22e1fae9f02e773342 (diff)
downloadcoreutils-edd292f8d4a5845bcc0d01ab080a6fc9f51a36fa.tar.xz
sort: improve usage wording
* src/sort.c (usage): Mention that -k defaults to end of line if POS2 omitted. * THANKS: Update. Reported by Tim Ryan. Signed-off-by: Eric Blake <ebb9@byu.net>
Diffstat (limited to 'src/sort.c')
-rw-r--r--src/sort.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sort.c b/src/sort.c
index a617517b7..37eb85429 100644
--- a/src/sort.c
+++ b/src/sort.c
@@ -362,7 +362,8 @@ Other options:\n\
NUL-terminated names in file F\n\
"), stdout);
fputs (_("\
- -k, --key=POS1[,POS2] start a key at POS1, end it at POS2 (origin 1)\n\
+ -k, --key=POS1[,POS2] start a key at POS1 (origin 1), end it at POS2\n\
+ (default end of line)\n\
-m, --merge merge already sorted files; do not sort\n\
"), stdout);
fputs (_("\