]> sigrok.org Git - sigrok-cli.git/blobdiff - main.c
--list-serial: Also mention HID/BT/BLE as possible "ports".
[sigrok-cli.git] / main.c
diff --git a/main.c b/main.c
index c038b6f02697dfc73a330460a66e180fe2a640e1..829492f5704aa8b3b0f4d5f2a1c48a1d4b61709a 100644 (file)
--- a/main.c
+++ b/main.c
@@ -266,6 +266,10 @@ int main(int argc, char **argv)
                show_version();
        else if (opt_list_supported)
                show_supported();
+       else if (opt_list_supported_wiki)
+               show_supported_wiki();
+       else if (opt_input_file && opt_show)
+               load_input_file(TRUE);
        else if (opt_input_format && opt_show)
                show_input();
        else if (opt_output_format && opt_show)
@@ -281,13 +285,15 @@ int main(int argc, char **argv)
        else if (opt_show)
                show_dev_detail();
        else if (opt_input_file)
-               load_input_file();
+               load_input_file(FALSE);
        else if (opt_get)
                get_option();
        else if (opt_set)
                set_options();
        else if (opt_samples || opt_time || opt_frames || opt_continuous)
                run_session();
+       else if (opt_list_serial)
+               show_serial_ports();
        else
                show_help();