Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorAshley Whetter <ashley@awhetter.co.uk>2016-05-01 22:24:20 +0100
committerAndrew Gregory <andrew.gregory.8@gmail.com>2017-05-08 23:27:40 -0400
commita9bec8bed88865a2b5ca1d8f56665ac1326bb238 (patch)
treee00c8055e1fe1d04c1be1e8ab7f1e8c3a9d47a19 /src/util
parenta5c23f0643b6a716a62df8cd5c284af88bcca1e6 (diff)
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> (cherry picked from commit 6c96ad36e082755e8a008b34aedde55a9a9f3dcd)
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)