diff --git a/src/console.cpp b/src/console.cpp index dc11cd403..06a0f3a53 100644 --- a/src/console.cpp +++ b/src/console.cpp @@ -377,14 +377,14 @@ void EMSESPShell::add_console_commands() { JsonObject json = doc.to(); bool ok = false; - // validate the command + // validate that a command is present if (arguments.size() < 2) { - // no cmd specified, default to empty command - if (Command::call(device_type, "", "", -1, json)) { - serializeJsonPretty(doc, shell); - shell.println(); - return; - } + // // no cmd specified, default to empty command + // if (Command::call(device_type, "", "", -1, json)) { + // serializeJsonPretty(doc, shell); + // shell.println(); + // return; + // } shell.print(F("Missing command. Available commands are: ")); Command::show(shell, device_type, false); // non-verbose mode return;