[PATCH] pacsort: add version option to usage function

Johannes Löthberg johannes at kyriasis.com
Sun May 27 15:42:18 UTC 2018


Quoting Michael Straube (2018-05-26 21:59:28)
> 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

Merged, thanks!

-- 
Sincerely,
  Johannes Löthberg
  PGP Key ID: 0x50FB9B273A9D0BB5
  PGP Key FP: 5134 EF9E AF65 F95B 6BB1  608E 50FB 9B27 3A9D 0BB5
  https://theos.kyriasis.com/~kyrias/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1727 bytes
Desc: signature
URL: <https://lists.archlinux.org/pipermail/pacman-contrib/attachments/20180527/da16eb20/attachment.asc>


More information about the pacman-contrib mailing list