X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=main.c;h=aa4f1229888fa91f961cce2d88dd32e1cd93c997;hb=54614916a903af4afc2582db793eb306e39ddd0a;hp=c2f39d84ff601fec51236cf261f723016bd2e552;hpb=69110b5cbe99a54937f108d239592e5afb55d008;p=sigrok-cli.git diff --git a/main.c b/main.c index c2f39d8..aa4f122 100644 --- a/main.c +++ b/main.c @@ -261,6 +261,7 @@ int main(int argc, char **argv) show_pd_annotations, NULL) != SRD_OK) goto done; } + show_pd_prepare(); } #endif @@ -300,6 +301,8 @@ int main(int argc, char **argv) show_help(); #ifdef HAVE_SRD + if (opt_pds) + show_pd_close(); if (opt_pds) srd_exit(); #endif