]> sigrok.org Git - sigrok-cli.git/blobdiff - main.c
Use new input API.
[sigrok-cli.git] / main.c
diff --git a/main.c b/main.c
index d300748bed13b6f863466685454032deac536505..19d146df7fe9560fcdcd396419694ee31ce8d1f2 100644 (file)
--- a/main.c
+++ b/main.c
@@ -162,6 +162,8 @@ int main(int argc, char **argv)
 
        if (opt_version)
                show_version();
+       else if (opt_input_format && opt_show)
+               show_input();
        else if (opt_output_format && opt_show)
                show_output();
        else if (opt_scan_devs)