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 verbose > 0:
|
||||||
if args.color_output:
|
if args.color_output:
|
||||||
print('\033[0mRunning \'{}\' on {}\033[0;{}m'.format(
|
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)
|
file=sys.stderr)
|
||||||
else:
|
else:
|
||||||
print('Running \'{}\' on {}'.format(args.cmd, vm.name),
|
print('Running \'{}\' on {}'.format(args.cmd, vm.name),
|
||||||
|
Loading…
Reference in New Issue
Block a user