From: Uwe Hermann Date: Wed, 21 Mar 2012 18:58:56 +0000 (+0100) Subject: cli: Fix -V/-h output a bit. X-Git-Tag: sigrok-cli-0.3.0~7 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=30f1c93ffd20a73d9f13c995bdbd55ea76052e75;p=sigrok-cli.git cli: Fix -V/-h output a bit. Options and their defaults should not be documented there, but rather in the manpage or such. --- diff --git a/sigrok-cli.c b/sigrok-cli.c index a5cec61..01002f7 100644 --- a/sigrok-cli.c +++ b/sigrok-cli.c @@ -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},