mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-02-18 09:10:38 +01:00
client: Enable 'help', 'version' cmds in non-interactive mode
This commit is contained in:
parent
7df4f2e86b
commit
5afe4576a1
@ -509,8 +509,14 @@ void command_process_prompt(char **argv, int argc)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
if (!interactive_mode) {
|
if (!interactive_mode) {
|
||||||
|
if (command_match_misc_commands(argv, argc)) {
|
||||||
|
exit_status = EXIT_SUCCESS;
|
||||||
|
goto quit;
|
||||||
|
}
|
||||||
|
|
||||||
display_error("Invalid command\n");
|
display_error("Invalid command\n");
|
||||||
exit_status = EXIT_FAILURE;
|
exit_status = EXIT_FAILURE;
|
||||||
|
quit:
|
||||||
l_main_quit();
|
l_main_quit();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user