summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAdam Edwards <adamed@opscode.com>2015-09-20 23:01:50 -0700
committeradamedx <adamed@getchef.com>2015-10-06 19:30:29 -0700
commit9fa35d05a5eba1b3f5c774cd28ec6169c9b003db (patch)
tree1a0445cecf27a19184c8f272522da7e1af18137f /lib
parent0e0359d546ff9dd85859fad882f1cd71f745b517 (diff)
downloadchef-9fa35d05a5eba1b3f5c774cd28ec6169c9b003db.tar.gz
Windows cli tools should have color true by defaultadamedx/windows-color-defaults
Diffstat (limited to 'lib')
-rw-r--r--lib/chef/application/apply.rb2
-rw-r--r--lib/chef/application/client.rb4
-rw-r--r--lib/chef/application/knife.rb4
3 files changed, 5 insertions, 5 deletions
diff --git a/lib/chef/application/apply.rb b/lib/chef/application/apply.rb
index 243b441119..c4f34911f4 100644
--- a/lib/chef/application/apply.rb
+++ b/lib/chef/application/apply.rb
@@ -100,7 +100,7 @@ class Chef::Application::Apply < Chef::Application
option :color,
:long => '--[no-]color',
:boolean => true,
- :default => !Chef::Platform.windows?,
+ :default => true,
:description => "Use colored output, defaults to enabled"
option :minimal_ohai,
diff --git a/lib/chef/application/client.rb b/lib/chef/application/client.rb
index 148257ab89..bf724d7522 100644
--- a/lib/chef/application/client.rb
+++ b/lib/chef/application/client.rb
@@ -58,8 +58,8 @@ class Chef::Application::Client < Chef::Application
option :color,
:long => '--[no-]color',
:boolean => true,
- :default => !Chef::Platform.windows?,
- :description => "Use colored output, defaults to false on Windows, true otherwise"
+ :default => true,
+ :description => "Use colored output, defaults to enabled"
option :log_level,
:short => "-l LEVEL",
diff --git a/lib/chef/application/knife.rb b/lib/chef/application/knife.rb
index af5216ae00..d169a5dab5 100644
--- a/lib/chef/application/knife.rb
+++ b/lib/chef/application/knife.rb
@@ -44,8 +44,8 @@ class Chef::Application::Knife < Chef::Application
option :color,
:long => '--[no-]color',
:boolean => true,
- :default => !Chef::Platform.windows?,
- :description => "Use colored output, defaults to false on Windows, true otherwise"
+ :default => true,
+ :description => "Use colored output, defaults to enabled"
option :environment,
:short => "-E ENVIRONMENT",