gchar *opt_output_file = NULL;
gchar *opt_drv = NULL;
gchar *opt_config = NULL;
-static gchar *opt_probes = NULL;
+static gchar *opt_channels = NULL;
gchar *opt_channel_group = NULL;
gchar *opt_triggers = NULL;
gchar *opt_pds = NULL;
"Save output to file", NULL},
{"output-format", 'O', 0, G_OPTION_ARG_STRING, &opt_output_format,
"Output format", NULL},
- {"probes", 'p', 0, G_OPTION_ARG_STRING, &opt_probes,
- "Probes to use", NULL},
+ {"channels", 'C', 0, G_OPTION_ARG_STRING, &opt_channels,
+ "Channels to use", NULL},
{"channel-group", 'g', 0, G_OPTION_ARG_STRING, &opt_channel_group,
"Channel groups", NULL},
{"triggers", 't', 0, G_OPTION_ARG_STRING, &opt_triggers,
struct sr_channel *ch;
GSList *selected_channels, *l;
- if (opt_probes) {
- if (!(selected_channels = parse_channelstring(sdi, opt_probes)))
+ if (opt_channels) {
+ if (!(selected_channels = parse_channelstring(sdi, opt_channels)))
return SR_ERR;
for (l = sdi->channels; l; l = l->next) {
g_slist_free(selected_channels);
}
#ifdef HAVE_SRD
- map_pd_probes(sdi);
+ map_pd_channels(sdi);
#endif
return SR_OK;
}