mirror of
https://github.com/onyx-and-iris/vmrcli.git
synced 2026-04-07 17:33:33 +00:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ad91a7f4e6 |
12
src/vmrcli.c
12
src/vmrcli.c
@@ -126,14 +126,14 @@ int main(int argc, char *argv[])
|
|||||||
vflag = true;
|
vflag = true;
|
||||||
break;
|
break;
|
||||||
case '?':
|
case '?':
|
||||||
log_warn("unknown option -- '%c'\n"
|
log_fatal("unknown option -- '%c'\n"
|
||||||
"Try .\\vmrcli.exe -h for more information.",
|
"Try .\\vmrcli.exe -h for more information.",
|
||||||
optopt);
|
optopt);
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
case ':':
|
case ':':
|
||||||
log_warn("missing argument for option -- '%c'\n"
|
log_fatal("missing argument for option -- '%c'\n"
|
||||||
"Try .\\vmrcli.exe -h for more information.",
|
"Try .\\vmrcli.exe -h for more information.",
|
||||||
optopt);
|
optopt);
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
case 'h':
|
case 'h':
|
||||||
[[fallthrough]];
|
[[fallthrough]];
|
||||||
|
|||||||
Reference in New Issue
Block a user