]> git.sesse.net Git - plocate/commitdiff
Fix the -r short option.
authorSteinar H. Gunderson <steinar+git@gunderson.no>
Sat, 17 Oct 2020 09:32:17 +0000 (11:32 +0200)
committerSteinar H. Gunderson <steinar+git@gunderson.no>
Sat, 17 Oct 2020 09:32:17 +0000 (11:32 +0200)
plocate.cpp

index ac0ca5e43de8f1416cc8c516c31cc8cf1b3a7937..c2bb17ca1452e5b63468c7e45ae5a305db1dc059 100644 (file)
@@ -700,7 +700,7 @@ int main(int argc, char **argv)
        setlocale(LC_ALL, "");
        for (;;) {
                int option_index = 0;
-               int c = getopt_long(argc, argv, "bcd:hil:n:0wVD", long_options, &option_index);
+               int c = getopt_long(argc, argv, "bcd:hil:n:0rwVD", long_options, &option_index);
                if (c == -1) {
                        break;
                }