]> sigrok.org Git - sigrok-cli.git/commitdiff
--help output: More specific --show help text.
authorUwe Hermann <redacted>
Thu, 20 Oct 2016 21:09:24 +0000 (23:09 +0200)
committerUwe Hermann <redacted>
Thu, 20 Oct 2016 21:09:24 +0000 (23:09 +0200)
Mention that --show also works for showing input/output format options,
as well as protocol decoder options.

This fixes bug #851.

options.c

index d7418dfbab94cebcd1446d838cd155d854a316ff..cba1e630028ff23be5300cb11ae2a4969a5876e6 100644 (file)
--- a/options.c
+++ b/options.c
@@ -140,7 +140,7 @@ static const GOptionEntry optargs[] = {
        {"scan", 0, 0, G_OPTION_ARG_NONE, &opt_scan_devs,
                        "Scan for devices", NULL},
        {"show", 0, 0, G_OPTION_ARG_NONE, &opt_show,
-                       "Show device detail", NULL},
+                       "Show device/format/decoder details", NULL},
        {"time", 0, 0, G_OPTION_ARG_CALLBACK, &check_opt_time,
                        "How long to sample (ms)", NULL},
        {"samples", 0, 0, G_OPTION_ARG_CALLBACK, &check_opt_samples,