1
0
mirror of https://github.com/systemd/systemd.git synced 2025-02-09 13:57:42 +03:00

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.
This commit is contained in:
Douglas Christman 2018-02-27 20:28:50 -05:00
parent 68da321f66
commit 63547675a4

View File

@ -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':