mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
Merge pull request #4000 from akallabeth/ign_keyword_fix
Command line ignore empty if flag set
This commit is contained in:
@@ -84,7 +84,10 @@ int CommandLineParseArgumentsA(int argc, LPCSTR* argv, COMMAND_LINE_ARGUMENT_A*
|
||||
|
||||
if (argc == 1)
|
||||
{
|
||||
status = COMMAND_LINE_STATUS_PRINT_HELP;
|
||||
if (flags & COMMAND_LINE_IGN_UNKNOWN_KEYWORD)
|
||||
status = 0;
|
||||
else
|
||||
status = COMMAND_LINE_STATUS_PRINT_HELP;
|
||||
return status;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user