From f7dddf5cd31d26be12c4c4d718d257fe012fe368 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sat, 17 Oct 2020 11:32:17 +0200 Subject: [PATCH] Fix the -r short option. --- plocate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plocate.cpp b/plocate.cpp index ac0ca5e..c2bb17c 100644 --- a/plocate.cpp +++ b/plocate.cpp @@ -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; } -- 2.39.2