Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion contrib/html/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/ebusd/mainloop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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;
}

Expand Down
4 changes: 2 additions & 2 deletions src/lib/utils/arg.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/tools/intelhex/intelhexclass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down