]> sigrok.org Git - sigrok-cli.git/commitdiff
cli: use --show for PD detail
authorBert Vermeulen <redacted>
Mon, 6 Aug 2012 10:23:52 +0000 (12:23 +0200)
committerBert Vermeulen <redacted>
Mon, 6 Aug 2012 10:23:52 +0000 (12:23 +0200)
sigrok-cli.c

index c64b001dd4c05c7cc388e3bb46314cb74fc94740..9ae646667381dba6e9981d00678bb7fbd63e44a5 100644 (file)
@@ -1506,10 +1506,10 @@ int main(int argc, char **argv)
                show_version();
        else if (opt_list_devs)
                show_dev_list();
+       else if (opt_pds && opt_show)
+               show_pd_detail();
        else if (opt_show)
                show_dev_detail();
-       else if (opt_pds)
-               show_pd_detail();
        else if (opt_input_file)
                load_input_file();
        else if (opt_samples || opt_time || opt_frames || opt_continuous)