]> sigrok.org Git - sigrok-cli.git/blobdiff - sigrok-cli.c
cli: Constify a few char *pointers.
[sigrok-cli.git] / sigrok-cli.c
index 03bfbdac2318ef51d3c2fa8b2a33625e1601e317..300c621b967acbfe32c3a7bc8ac865bd0b9a2cde 100644 (file)
@@ -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;