Skip to content

Commit b5b17a0

Browse files
author
tcollet
committed
add command rw in the help
1 parent f831b7f commit b5b17a0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/main.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ usage(const char *p) {
8888
" temp get [all|ot|ut|warn]\n"
8989
" temp set [--ot-fault <C>] [--ut-fault <C>] [--ot-warn <C>] [--ut-warn <C>]\n"
9090
" temp read [all|t1|t2|t3]\n"
91+
" rw get [byte|word] [--cmd 0xHH]\n"
92+
" rw set [byte|word] [--cmd 0xHH] [--value 0xAAAA]\n"
9193
"\n"
9294
"Hints:\n"
9395
" * Use '<command> help' where available (e.g., 'hrr help', 'capability help', 'fault help') for detailed docs.\n"

src/rw_cmd.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ decode_rww(uint16_t v, json_t *o) {
2222
static void
2323
usage_operation(void) {
2424
fprintf(stderr,
25-
"rw get [byte|word] [--cmd 0xHH]\n"
26-
"rw set [byte|word] [--cmd 0xHH] [--value 0xAAAA]\n"
25+
"rw get [byte|word] [--cmd 0xHH]\n"
26+
"rw set [byte|word] [--cmd 0xHH] [--value 0xAAAA]\n"
2727
);
2828
}
2929

0 commit comments

Comments
 (0)