summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorAshley Whetter <ashley@awhetter.co.uk>2016-05-01 22:24:20 +0100
committerAllan McRae <allan@archlinux.org>2016-05-05 13:52:23 +1000
commit6c96ad36e082755e8a008b34aedde55a9a9f3dcd (patch)
tree62f589cb546c6ba46d2e54e3659f29908eca2d68 /src/util
parent5b9bc6024c246f232c64f6409088fedf558917af (diff)
downloadpacman-6c96ad36e082755e8a008b34aedde55a9a9f3dcd.tar.xz
pacsort help clearly states that files contain inputs to be sorted
Fixes FS#44121 Signed-off-by: Ashley Whetter <ashley@awhetter.co.uk> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src/util')
-rw-r--r--src/util/pacsort.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/util/pacsort.c b/src/util/pacsort.c
index c69ae2f0..662b250d 100644
--- a/src/util/pacsort.c
+++ b/src/util/pacsort.c
@@ -427,7 +427,10 @@ static void usage(void)
" -k, --key <index> sort input starting on specified column\n"
" -r, --reverse sort in reverse order (default: oldest to newest)\n"
" -t, --separator <sep> specify field separator (default: space)\n"
- " -z, --null lines end with null bytes, not newlines\n\n");
+ " -z, --null lines end with null bytes, not newlines\n\n"
+ "pacsort writes the sorted concatenation of all files, to standard output.\n"
+ "Files should contain a list of inputs to sort.\n\n"
+ "Standard input is read when no files are given.\n\n");
}
static int parse_options(int argc, char **argv)