Issue #20215 has been updated by Charlie Sharpsteen.

Tracker changed from Bug to Feature

Another option here may be to add a check for STDOUT being a TTY before 
applying ANSI escapes.

----------------------------------------
Feature #20215: --timing uses ANSI by default which makes pipes and redirection 
difficult
https://projects.puppetlabs.com/issues/20215#change-94547

* Author: Garrett Honeycutt
* Status: Needs Decision
* Priority: Normal
* Assignee: eric sorenson
* Category: 
* Target version: 
* Keywords: timing, ANSI
* Branch: 
* Affected Facter version: 
----------------------------------------
When using `--timing` the output is wrapped in ANSI to make the text green. 
This prevents one from piping the output to another program.

The ANSI should be removed or the default behavior should be without color and 
allow for a colorized output flag.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to