29 May
2018
29 May
'18
1:07 p.m.
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