diff options
author | Xavier Roche <xroche@users.noreply.github.com> | 2013-07-09 18:43:00 +0000 |
---|---|---|
committer | Xavier Roche <xroche@users.noreply.github.com> | 2013-07-09 18:43:00 +0000 |
commit | 39501c8aeb7436296c6d4fc1f52c58e52e6101ef (patch) | |
tree | f617cbc905ef5b8f05783ea55b9409315747f316 /src/htscoremain.c | |
parent | d03d97a163cf163aac4b17665a72e1d935d39c9a (diff) |
-Zz (trace logs)
Diffstat (limited to 'src/htscoremain.c')
-rw-r--r-- | src/htscoremain.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/htscoremain.c b/src/htscoremain.c index 611b0e5..3af785e 100644 --- a/src/htscoremain.c +++ b/src/htscoremain.c @@ -1377,10 +1377,18 @@ HTSEXT_API int hts_main2(int argc, char **argv, httrackp * opt) { break; // case 'z': - opt->debug = 1; + if (opt->debug >= 2) { + opt->debug = 3; /* -Zz */ + } else { + opt->debug = 1; + } break; // petit debug case 'Z': - opt->debug = 2; + if (opt->debug >= 1) { + opt->debug = 3; /* -Zz */ + } else { + opt->debug = 2; + } break; // GROS debug // case '&': |