mirror of
https://github.com/erjiang/usbscale.git
synced 2025-07-13 07:34:26 -06:00
Fix wrong command in help
This commit is contained in:
parent
f8918c7095
commit
efccef3334
@ -110,7 +110,7 @@ const char* UNITS[13] = {
|
|||||||
const char *argp_program_version = "usbscale 0.2";
|
const char *argp_program_version = "usbscale 0.2";
|
||||||
const char *argp_program_bug_address = "<https://www.github.com/erjiang/usbscale/issues>";
|
const char *argp_program_bug_address = "<https://www.github.com/erjiang/usbscale/issues>";
|
||||||
static char doc[] = "Read weight from a USB scale\n"
|
static char doc[] = "Read weight from a USB scale\n"
|
||||||
"The `tare' command will request the scale to reset to zero (not supported by all scales).\n";
|
"The `zero' command will request the scale to reset to zero (not supported by all scales).\n";
|
||||||
static char args_doc[] = "[zero]";
|
static char args_doc[] = "[zero]";
|
||||||
static struct argp_option options[] = {
|
static struct argp_option options[] = {
|
||||||
{ "index", 'i', "INDEX", 0, "Index of scale to read (default: 1)" },
|
{ "index", 'i', "INDEX", 0, "Index of scale to read (default: 1)" },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user