[pacman-dev] [PATCH] pacsort help clearly states that files contain inputs to be sorted
Fixes FS#44121 Signed-off-by: Ashley Whetter <ashley@awhetter.co.uk> --- src/util/pacsort.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/util/pacsort.c b/src/util/pacsort.c index c69ae2f..662b250 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) -- 2.8.0
On 02/05/16 07:24, Ashley Whetter wrote:
Fixes FS#44121
Signed-off-by: Ashley Whetter <ashley@awhetter.co.uk> ---
Thanks, A
participants (2)
-
Allan McRae
-
Ashley Whetter