This commit is contained in:
iceman1001 committed 2024-09-14 15:03:29 +02:00
1 parent 9ebe5ae8dd
commit 20a0bc3a81
12 files changed
+56 -48

No files matched your search

+2 -2
View File
@@ -301,8 +301,8 @@ static int CmdScriptRun(const char *Cmd) {
// and be able to send in parameters into script meanwhile
// being able to "-h" here too.
if ((strlen(filename) == 0) ||
(strcmp(filename, "-h") == 0) ||
(strcmp(filename, "--help") == 0)) {
(strcmp(filename, "-h") == 0) ||
(strcmp(filename, "--help") == 0)) {
ctx->argtable = argtable;
ctx->argtableLen = arg_getsize(argtable);
CLIParserPrintHelp(ctx);