From: Douglas Christman Date: Wed, 28 Feb 2018 01:28:50 +0000 (-0500) Subject: test-libudev: make "-m" equivalent to "--monitor" X-Git-Tag: v238~30^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=63547675a4bd5872b07cb6149dd93627fa21932d;p=thirdparty%2Fsystemd.git 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. --- 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':