Use finished output API.
[sigrok-cli.git] / main.c
diff --git a/main.c b/main.c
index ea4c71846791bd42f20f74aa6d77021fc3475180..d300748bed13b6f863466685454032deac536505 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_output_format && opt_show)
+               show_output();
        else if (opt_scan_devs)
                show_dev_list();
 #ifdef HAVE_SRD