Restore correct colors in verbose mode
Restore stderr color when printing to stderr, not stdout color
This commit is contained in:
parent
57bf88aa30
commit
6afe5a98c2
@ -194,7 +194,7 @@ def main(args=None, app=None):
|
||||
if verbose > 0:
|
||||
if args.color_output:
|
||||
print('\033[0mRunning \'{}\' on {}\033[0;{}m'.format(
|
||||
args.cmd, vm.name, args.color_output),
|
||||
args.cmd, vm.name, args.color_stderr),
|
||||
file=sys.stderr)
|
||||
else:
|
||||
print('Running \'{}\' on {}'.format(args.cmd, vm.name),
|
||||
|
Loading…
Reference in New Issue
Block a user