projects
/
sigrok-cli.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5c730c7
)
cli: use --show for PD detail
author
Bert Vermeulen
<bert@biot.com>
Mon, 6 Aug 2012 10:23:52 +0000
(12:23 +0200)
committer
Bert Vermeulen
<bert@biot.com>
Mon, 6 Aug 2012 10:23:52 +0000
(12:23 +0200)
sigrok-cli.c
patch
|
blob
|
history
diff --git
a/sigrok-cli.c
b/sigrok-cli.c
index c64b001dd4c05c7cc388e3bb46314cb74fc94740..9ae646667381dba6e9981d00678bb7fbd63e44a5 100644
(file)
--- 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();
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_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)
else if (opt_input_file)
load_input_file();
else if (opt_samples || opt_time || opt_frames || opt_continuous)