minor text change

This commit is contained in:
Proddy
2022-07-22 15:56:54 +02:00
parent 505e339406
commit 3b86d1b5aa

View File

@@ -398,7 +398,7 @@ void EMSESPShell::add_console_commands() {
shell.print(F("Available commands are: ")); shell.print(F("Available commands are: "));
Command::show(shell, device_type, false); // non-verbose mode Command::show(shell, device_type, false); // non-verbose mode
} else if (return_code != CommandRet::OK) { } else if (return_code != CommandRet::OK) {
shell.println(F("Bad syntax")); shell.printfln(F("Bad syntax (error code %d)"), return_code);
} }
}, },
[&](Shell & shell __attribute__((unused)), const std::vector<std::string> & arguments) -> std::vector<std::string> { [&](Shell & shell __attribute__((unused)), const std::vector<std::string> & arguments) -> std::vector<std::string> {