summaryrefslogtreecommitdiff
path: root/src/test/test-libudev.c
diff options
context:
space:
mode:
authorDouglas Christman <DouglasChristman@gmail.com>2018-02-27 20:28:50 -0500
committerDouglas Christman <DouglasChristman@gmail.com>2018-03-01 21:50:38 +0800
commit63547675a4bd5872b07cb6149dd93627fa21932d (patch)
tree5a464c49de306d1ecf81970d0db04c148f3f1eeb /src/test/test-libudev.c
parent68da321f6687235fc11ba963d0a19701d47f1261 (diff)
downloadsystemd-63547675a4bd5872b07cb6149dd93627fa21932d.tar.gz
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.
Diffstat (limited to 'src/test/test-libudev.c')
-rw-r--r--src/test/test-libudev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-libudev.c b/src/test/test-libudev.c
index 408d14133b..f748fbc878 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':