small changes, suggestion for thermostat_data

This commit is contained in:
MichaelDvP
2020-10-04 18:42:19 +02:00
parent a9dd864e38
commit 20b1f6c263
3 changed files with 71 additions and 43 deletions

View File

@@ -359,7 +359,7 @@ void EMSESPShell::add_console_commands() {
ShellContext::MAIN,
CommandFlags::ADMIN,
flash_string_vector{F_(call)},
flash_string_vector{F_(device_type_optional), F_(cmd_optional), F_(data_optional), F_(n_optional)},
flash_string_vector{F_(device_type_optional), F_(cmd_optional), F_(data_optional), F_(id_optional)},
[&](Shell & shell, const std::vector<std::string> & arguments) {
if (arguments.empty()) {
Command::show_all(shell); // list options