X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=sigrok-cli.c;h=4ea52cbd3f3c6c6c2973c3c589ff8ad58eef4fb4;hb=725021fedfa966ec81dab1ca8efbec8721bc0dfc;hp=52e894ab5be108223be7a36e89011ce8f6b15298;hpb=ad2bc4916002865f3bbc23e574a74a295cbe929c;p=sigrok-cli.git diff --git a/sigrok-cli.c b/sigrok-cli.c index 52e894a..4ea52cb 100644 --- a/sigrok-cli.c +++ b/sigrok-cli.c @@ -90,7 +90,7 @@ static GOptionEntry optargs[] = { "Protocol decoders to run", NULL}, {"protocol-decoder-stack", 's', 0, G_OPTION_ARG_STRING, &opt_pd_stack, "Protocol decoder stack", NULL}, - {"protocol-decoder-annotation", 0, 0, G_OPTION_ARG_STRING, &opt_pd_annotation, + {"protocol-decoder-annotation", 'A', 0, G_OPTION_ARG_STRING, &opt_pd_annotation, "Protocol decoder annotation to show", NULL}, {"time", 0, 0, G_OPTION_ARG_STRING, &opt_time, "How long to sample (ms)", NULL}, @@ -830,6 +830,9 @@ static struct sr_input_format *determine_input_file_format( g_critical("Error: no matching input module found."); return NULL; } + + g_debug("cli: Autodetected '%s' input format for file '%s'.", + inputs[i]->id, filename); return inputs[i]; }