Add --color and --no-color options.
By default, we auto-detect color mode (if it's a tty, color default on, else off). But you can force it either way.
This commit is contained in:
parent
f49d311471
commit
d82326a39d
6 changed files with 21 additions and 13 deletions
|
|
@ -21,7 +21,7 @@ rv = 202
|
|||
try:
|
||||
if vars_init.is_toplevel:
|
||||
builder.start_stdin_log_reader(status=True, details=True,
|
||||
pretty=True, debug_locks=False, debug_pids=False)
|
||||
pretty=True, color=True, debug_locks=False, debug_pids=False)
|
||||
if vars.TARGET and not vars.UNLOCKED:
|
||||
me = os.path.join(vars.STARTDIR,
|
||||
os.path.join(vars.PWD, vars.TARGET))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue