From f83fbc57a5213cae17addf3dfc1cf96c3cf484b6 Mon Sep 17 00:00:00 2001 From: Bert Vermeulen Date: Mon, 6 Aug 2012 12:23:52 +0200 Subject: [PATCH] cli: use --show for PD detail --- sigrok-cli.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.30.2