summaryrefslogtreecommitdiff
path: root/src/htscoremain.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/htscoremain.c')
-rw-r--r--src/htscoremain.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/htscoremain.c b/src/htscoremain.c
index 044e720..21cffd4 100644
--- a/src/htscoremain.c
+++ b/src/htscoremain.c
@@ -1919,6 +1919,11 @@ HTSEXT_API int hts_main2(int argc, char **argv, httrackp * opt) {
}
break;
+ case 't': /* do not change type (ending) of filenames according to the MIME type */
+ opt->no_type_change = 1;
+ if (*(com+1)=='0') { opt->no_type_change = 0; com++; }
+ break;
+
default:{
char s[HTS_CDLMAXSIZE + 256];