]> sigrok.org Git - sigrok-cli.git/commitdiff
cli: Fix -V/-h output a bit.
authorUwe Hermann <redacted>
Wed, 21 Mar 2012 18:58:56 +0000 (19:58 +0100)
committerUwe Hermann <redacted>
Wed, 21 Mar 2012 22:20:09 +0000 (23:20 +0100)
Options and their defaults should not be documented there, but rather in
the manpage or such.

sigrok-cli.c

index a5cec612a2b0b52b49ebba28fbab57f4544cfb37..01002f7bdbea7c46c3cc4a9e943bf3aa6cea418a 100644 (file)
@@ -65,8 +65,8 @@ static gchar *opt_continuous = NULL;
 
 static GOptionEntry optargs[] = {
        {"version", 'V', 0, G_OPTION_ARG_NONE, &opt_version, "Show version and support list", NULL},
-       {"loglevel", 'l', 0, G_OPTION_ARG_INT, &opt_loglevel, "Select libsigrok loglevel", NULL},
-       {"list-devices", 'D', 0, G_OPTION_ARG_NONE, &opt_list_devs, "List devices", NULL},
+       {"loglevel", 'l', 0, G_OPTION_ARG_INT, &opt_loglevel, "Select libsigrok/libsigrokdecode loglevel", NULL},
+       {"list-devices", 'D', 0, G_OPTION_ARG_NONE, &opt_list_devs, "Scan for devices", NULL},
        {"device", 'd', 0, G_OPTION_ARG_STRING, &opt_dev, "Use specified device", NULL},
        {"input-file", 'i', 0, G_OPTION_ARG_FILENAME, &opt_input_file, "Load input from file", NULL},
        {"input-format", 'I', 0, G_OPTION_ARG_STRING, &opt_input_format, "Input format", NULL},