mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
fix errormessage for shell-commands
This commit is contained in:
@@ -375,9 +375,11 @@ void EMSESPShell::add_console_commands() {
|
||||
serializeJsonPretty(doc, shell);
|
||||
shell.println();
|
||||
return;
|
||||
} else if (!ok) {
|
||||
shell.println(F("Unknown command, value, or id."));
|
||||
shell.print(F("Available commands are: "));
|
||||
Command::show(shell, device_type);
|
||||
}
|
||||
shell.print(F("Unknown command. Available commands are: "));
|
||||
Command::show(shell, device_type);
|
||||
},
|
||||
[&](Shell & shell __attribute__((unused)), const std::vector<std::string> & arguments) -> std::vector<std::string> {
|
||||
if (arguments.size() == 0) {
|
||||
|
||||
Reference in New Issue
Block a user