From 63547675a4bd5872b07cb6149dd93627fa21932d Mon Sep 17 00:00:00 2001 From: Douglas Christman Date: Tue, 27 Feb 2018 20:28:50 -0500 Subject: [PATCH] test-libudev: make "-m" equivalent to "--monitor" "-m" is specified as a short form of "--monitor" in the option struct, but not included in getopt_long's optstring. Update the optstring to be consistent with the option struct. --- src/test/test-libudev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/test-libudev.c b/src/test/test-libudev.c index 408d14133b9..f748fbc8785 100644 --- a/src/test/test-libudev.c +++ b/src/test/test-libudev.c @@ -372,7 +372,7 @@ int main(int argc, char *argv[]) { return 1; } - while ((c = getopt_long(argc, argv, "p:s:dhV", options, NULL)) >= 0) + while ((c = getopt_long(argc, argv, "p:s:dhVm", options, NULL)) >= 0) switch (c) { case 'p': -- 2.47.3