X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-cli.git;a=blobdiff_plain;f=options.c;h=9a0bce6859306562c849a722f871577557663d07;hp=179d892f4021239bda222ee4fdd84e9462e3c7b3;hb=6f7b4c5d7eb49642f8221a85ee6987751fcd81ce;hpb=198487f611d8a7be4fa15017c22fa01a56551ca6 diff --git a/options.c b/options.c index 179d892..9a0bce6 100644 --- a/options.c +++ b/options.c @@ -40,6 +40,7 @@ gchar *opt_pd_binary = NULL; #endif gchar *opt_input_format = NULL; gchar *opt_output_format = NULL; +gchar *opt_transform_module = NULL; gchar *opt_show = NULL; gchar *opt_time = NULL; gchar *opt_samples = NULL; @@ -73,6 +74,7 @@ CHECK_ONCE(opt_drv) CHECK_ONCE(opt_config) CHECK_ONCE(opt_input_format) CHECK_ONCE(opt_output_format) +CHECK_ONCE(opt_transform_module) CHECK_ONCE(opt_channels) CHECK_ONCE(opt_channel_group) CHECK_ONCE(opt_triggers) @@ -110,6 +112,8 @@ static const GOptionEntry optargs[] = { "Save output to file", NULL}, {"output-format", 'O', 0, G_OPTION_ARG_CALLBACK, &check_opt_output_format, "Output format", NULL}, + {"transform-module", 'T', 0, G_OPTION_ARG_CALLBACK, &check_opt_transform_module, + "Transform module", NULL}, {"channels", 'C', 0, G_OPTION_ARG_CALLBACK, &check_opt_channels, "Channels to use", NULL}, {"channel-group", 'g', 0, G_OPTION_ARG_CALLBACK, &check_opt_channel_group,