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:
parent
68da321f66
commit
63547675a4
@ -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':
|
||||
|
Loading…
x
Reference in New Issue
Block a user