File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 21
21
from .process import Process , shortname
22
22
from .resolver import ga4gh_tool_registries
23
23
from .software_requirements import SOFTWARE_REQUIREMENTS_ENABLED
24
- from .utils import DEFAULT_TMP_PREFIX
24
+ from .utils import DEFAULT_TMP_PREFIX , onWindows
25
25
26
26
27
27
def arg_parser () -> argparse .ArgumentParser :
@@ -493,13 +493,14 @@ def arg_parser() -> argparse.ArgumentParser:
493
493
"--enable-color" ,
494
494
action = "store_true" ,
495
495
help = "Enable logging color (default enabled)" ,
496
- default = True ,
496
+ default = not onWindows () ,
497
497
)
498
498
exgroup .add_argument (
499
499
"--disable-color" ,
500
500
action = "store_false" ,
501
501
dest = "enable_color" ,
502
502
help = "Disable colored logging (default false)" ,
503
+ default = onWindows (),
503
504
)
504
505
505
506
parser .add_argument (
You can’t perform that action at this time.
0 commit comments