[PATCH] pacsort: add version option to usage function
Michael Straube
straubem at gmx.de
Sat May 26 19:59:28 UTC 2018
Signed-off-by: Michael Straube <straubem at gmx.de>
---
src/pacsort.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/pacsort.c b/src/pacsort.c
index dcff76c..ad1ffd6 100644
--- a/src/pacsort.c
+++ b/src/pacsort.c
@@ -427,6 +427,7 @@ 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"
+ " -v, --version display the version\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"
--
2.17.0
More information about the pacman-contrib
mailing list