X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-cli.git;a=blobdiff_plain;f=sigrok-cli.c;h=300c621b967acbfe32c3a7bc8ac865bd0b9a2cde;hp=03bfbdac2318ef51d3c2fa8b2a33625e1601e317;hb=5905a251d96f89418319641532b2d2ec8e848336;hpb=b6bd032dde74eda6423f13b40e75b9125ad4ce5e diff --git a/sigrok-cli.c b/sigrok-cli.c index 03bfbda..300c621 100644 --- a/sigrok-cli.c +++ b/sigrok-cli.c @@ -67,7 +67,7 @@ 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/libsigrokdecode loglevel", NULL}, + "Set 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, @@ -615,7 +615,7 @@ int setup_pd_stack(void) * the stack will be left on the annotation list (unless * the annotation list was specifically provided). */ - if (!opt_pd_annotation) + if (!opt_pd_annotations) g_hash_table_remove(pd_ann_visible, di_from->inst_id); @@ -717,7 +717,7 @@ int setup_output_format(void) return 0; } -void show_pd_annotation(struct srd_proto_data *pdata, void *cb_data) +void show_pd_annotations(struct srd_proto_data *pdata, void *cb_data) { int i; char **annotations;