From 39501c8aeb7436296c6d4fc1f52c58e52e6101ef Mon Sep 17 00:00:00 2001 From: Xavier Roche Date: Tue, 9 Jul 2013 18:43:00 +0000 Subject: -Zz (trace logs) --- src/htscoremain.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'src/htscoremain.c') 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 '&': -- cgit v1.2.3