summaryrefslogtreecommitdiff
path: root/chef/lib/chef/application/solo.rb
diff options
context:
space:
mode:
authorMarc Paradise <marc@opscode.com>2012-05-17 17:35:24 -0400
committerMarc Paradise <marc@opscode.com>2012-05-17 17:36:22 -0400
commit5bdabe865925ba9102be7f81cfa621b31927e7e9 (patch)
treed0d17f04e9c9d5a3f6689bf5e55ffc64a43190c9 /chef/lib/chef/application/solo.rb
parent181740d0c1901aae8325508aa20727135a516147 (diff)
downloadchef-5bdabe865925ba9102be7f81cfa621b31927e7e9.tar.gz
Added color output option
Diffstat (limited to 'chef/lib/chef/application/solo.rb')
-rw-r--r--chef/lib/chef/application/solo.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/chef/lib/chef/application/solo.rb b/chef/lib/chef/application/solo.rb
index e41d67ef38..fe664aeac2 100644
--- a/chef/lib/chef/application/solo.rb
+++ b/chef/lib/chef/application/solo.rb
@@ -34,6 +34,17 @@ class Chef::Application::Solo < Chef::Application
:default => Chef::Config.platform_specfic_path('/etc/chef/solo.rb'),
:description => "The configuration file to use"
+ option :formatter,
+ :short => "-F FORMATTER",
+ :long => "--format FORMATTER",
+ :description => "output format to use"
+
+ option :color,
+ :long => '--[no-]color',
+ :boolean => false,
+ :default => true,
+ :description => "Use colored output, defaults to disabled"
+
option :log_level,
:short => "-l LEVEL",
:long => "--log_level LEVEL",