diff --git a/README.md b/README.md index 2fc5ad0..6f7916e 100644 --- a/README.md +++ b/README.md @@ -94,7 +94,7 @@ The command-line interface is straightforward as reflected in the output from --response-timeout Response timeout (default: 100) --rs-485 Enable RS-485 mode --rs-485-config Set RS-485 configuration - --alert none|bell|blink Alert on connect/disconnect (default: none) + --alert bell|blink|none Alert on connect/disconnect (default: none) -v, --version Display version -h, --help Display help diff --git a/src/options.c b/src/options.c index 52fd00d..9d4b2e3 100644 --- a/src/options.c +++ b/src/options.c @@ -122,7 +122,7 @@ void print_help(char *argv[]) printf(" --response-timeout Response timeout (default: 100)\n"); printf(" --rs-485 Enable RS-485 mode\n"); printf(" --rs-485-config Set RS-485 configuration\n"); - printf(" --alert none|bell|blink Alert on connect/disconnect (default: none)\n"); + printf(" --alert bell|blink|none Alert on connect/disconnect (default: none)\n"); printf(" -v, --version Display version\n"); printf(" -h, --help Display help\n"); printf("\n");