diff --git a/ChangeLog.md b/ChangeLog.md index f228dc1ee..16c922c60 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 053ccf96e..33f0ef15d 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 339772cfa..5372e9c5c 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" @@ -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; } diff --git a/src/lib/utils/arg.h b/src/lib/utils/arg.h index b97fefda4..9bf99f699 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) diff --git a/src/tools/intelhex/intelhexclass.cpp b/src/tools/intelhex/intelhexclass.cpp index d81934ace..7d02eb7af 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;