From 3b86d1b5aad27f39d092d43ef02a001e9c15c476 Mon Sep 17 00:00:00 2001 From: Proddy Date: Fri, 22 Jul 2022 15:56:54 +0200 Subject: [PATCH] minor text change --- src/console.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/console.cpp b/src/console.cpp index 34ec3fbc8..3ebbc8ab0 100644 --- a/src/console.cpp +++ b/src/console.cpp @@ -398,7 +398,7 @@ void EMSESPShell::add_console_commands() { shell.print(F("Available commands are: ")); Command::show(shell, device_type, false); // non-verbose mode } 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 & arguments) -> std::vector {