From 5cf27e0be8f1393fbdd6da66d04a26a59c34f6ca Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Sun, 31 May 2026 20:51:21 +0200 Subject: [PATCH 1/3] Fix typo: COMMMAND -> COMMAND --- src/ebusd/mainloop.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ebusd/mainloop.cpp b/src/ebusd/mainloop.cpp index 339772cf..f8f72348 100644 --- a/src/ebusd/mainloop.cpp +++ b/src/ebusd/mainloop.cpp @@ -2077,7 +2077,7 @@ result_t MainLoop::executeHelp(ostringstream* ostream) { " dump Toggle binary dump of received bytes\n" " reload Reload CSV config files\n" " quit|q Close connection\n" - " help|? Print help help [COMMAND], COMMMAND ?"; + " help|? Print help help [COMMAND], COMMAND ?"; return RESULT_OK; } From 1cbb72e4541ca43f0a5be0ba3d3e273ccfd8cb22 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Sun, 31 May 2026 20:52:10 +0200 Subject: [PATCH 2/3] Fix typo: begining -> beginning --- src/tools/intelhex/intelhexclass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/intelhex/intelhexclass.cpp b/src/tools/intelhex/intelhexclass.cpp index d81934ac..7d02eb7a 100644 --- a/src/tools/intelhex/intelhexclass.cpp +++ b/src/tools/intelhex/intelhexclass.cpp @@ -478,7 +478,7 @@ istream& operator>>(istream& dataIn, intelhex& ihLocal) ihLineIterator); if (ihLocal.verbose == true) { - cout << "Data Record begining @ 0x" << + cout << "Data Record beginning @ 0x" << ihLocal.ulToHexString(loadOffset) << endl; } break; From 8f6429e91bacab341d6b615f3fa1b6ede0ece91e Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Sun, 31 May 2026 20:52:25 +0200 Subject: [PATCH 3/3] Fix typo: defintion -> definition --- ChangeLog.md | 2 +- contrib/html/openapi.yaml | 2 +- src/ebusd/mainloop.cpp | 2 +- src/lib/utils/arg.h | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ChangeLog.md b/ChangeLog.md index f228dc1e..16c922c6 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -320,7 +320,7 @@ * changed logging for messages from "updated" to "received" and "sent" depending on who initiated the request and added message direction/scan/poll/update info * added support for serving .csv files and new argument maxage to HTTP/JSON port * added timeout argument and error result code to ebusctl -* added "-def" option to "read" and "write" commands and "define" command to test message defintions and add new definitions during runtime and disabled all by default (use "--enabledefine" command line option). +* added "-def" option to "read" and "write" commands and "define" command to test message definitions and add new definitions during runtime and disabled all by default (use "--enabledefine" command line option). * added "encode" and "decode" commands for testing field definitions * added option to ignore failed host name resolution during initialization of MQTT * added logging when device became invalid and close it on error diff --git a/contrib/html/openapi.yaml b/contrib/html/openapi.yaml index 053ccf96..33f0ef15 100644 --- a/contrib/html/openapi.yaml +++ b/contrib/html/openapi.yaml @@ -203,7 +203,7 @@ paths: $ref: '#/components/schemas/RawMessages' /decode: get: - summary: Decode raw data with the specified field defintion. + summary: Decode raw data with the specified field definition. parameters: - name: def in: query diff --git a/src/ebusd/mainloop.cpp b/src/ebusd/mainloop.cpp index f8f72348..5372e9c5 100644 --- a/src/ebusd/mainloop.cpp +++ b/src/ebusd/mainloop.cpp @@ -2048,7 +2048,7 @@ result_t MainLoop::executeHelp(ostringstream* ostream) { *ostream << "usage:\n" " read|r Read value(s): read [-f] [-m SECONDS] [-s QQ] [-d ZZ] [-c CIRCUIT] [-p PRIO] [-v|-V] [-n|-N]" " [-i VALUE[;VALUE]*] NAME [FIELD[.N]]\n" - " Read by new defintion: read [-f] [-m SECONDS] [-s QQ] [-d ZZ] [-v|-V] [-n|-N]" + " Read by new definition: read [-f] [-m SECONDS] [-s QQ] [-d ZZ] [-v|-V] [-n|-N]" " [-i VALUE[;VALUE]*] -def DEFINITION (if enabled)\n" " Read hex message: read [-f] [-m SECONDS] [-s QQ] [-c CIRCUIT] -h ZZPBSBNN[DD]*\n" " write|w Write value(s): write [-s QQ] [-d ZZ] -c CIRCUIT NAME [VALUE[;VALUE]*]\n" diff --git a/src/lib/utils/arg.h b/src/lib/utils/arg.h index b97fefda..9bf99f69 100755 --- a/src/lib/utils/arg.h +++ b/src/lib/utils/arg.h @@ -56,13 +56,13 @@ typedef int (*parse_function_t)(int key, char *arg, const struct argParseOpt *pa /** Options for child definitions. */ typedef struct argParseChildOpt { - const argDef *argDefs; //!< pointer to the argument defintions (last one needs to have nullptr help as end sign) + const argDef *argDefs; //!< pointer to the argument definitions (last one needs to have nullptr help as end sign) parse_function_t parser; //!< parse function to use } argParseChildOpt; /** Options to pass to @a argParse(). */ typedef struct argParseOpt { - const argDef *argDefs; //!< pointer to the argument defintions (last one needs to have nullptr help as end sign) + const argDef *argDefs; //!< pointer to the argument definitions (last one needs to have nullptr help as end sign) parse_function_t parser; //!< parse function to use int flags; //!< flags for the parser, bit combination of @a ArgFlag const char* help; //!< help text for the program (second line of help output)