From: Bert Vermeulen Date: Mon, 6 Aug 2012 10:23:52 +0000 (+0200) Subject: cli: use --show for PD detail X-Git-Tag: sigrok-cli-0.4.0~81 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=f83fbc57a5213cae17addf3dfc1cf96c3cf484b6;p=sigrok-cli.git cli: use --show for PD detail --- diff --git a/sigrok-cli.c b/sigrok-cli.c index c64b001..9ae6466 100644 --- a/sigrok-cli.c +++ b/sigrok-cli.c @@ -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)