Quoting Michael Straube (2018-05-29 19:07:18)
Add short version option to optstring.
Signed-off-by: Michael Straube <straubem@gmx.de> --- src/pacsort.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/pacsort.c b/src/pacsort.c index ad1ffd6..3a9fe9c 100644 --- a/src/pacsort.c +++ b/src/pacsort.c @@ -454,7 +454,7 @@ static int parse_options(int argc, char **argv) {0, 0, 0, 0} };
- while((opt = getopt_long(argc, argv, "fhk:rt:z", opttable, NULL)) != -1) { + while((opt = getopt_long(argc, argv, "fhk:rt:vz", opttable, NULL)) != -1) { switch(opt) { case 'f': opts.filemode = 1; -- 2.17.0
Applied, 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/