diff options
author | John Keiser <jkeiser@opscode.com> | 2013-09-20 20:07:56 -0700 |
---|---|---|
committer | John Keiser <jkeiser@opscode.com> | 2013-10-02 11:57:50 -0700 |
commit | f3683788e36ae8fa4975b9a24daeced36b486ec9 (patch) | |
tree | c51f55a266e58647a9e2c1fa2261fc8f546419e0 /lib/chef/application/knife.rb | |
parent | 9af06f9f9ccab183aea931262a5408d5f2426e82 (diff) | |
download | chef-f3683788e36ae8fa4975b9a24daeced36b486ec9.tar.gz |
Add -z and --chef-zero-port options to knife and chef-client
Diffstat (limited to 'lib/chef/application/knife.rb')
-rw-r--r-- | lib/chef/application/knife.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/chef/application/knife.rb b/lib/chef/application/knife.rb index 13612a4bf3..a06451e82e 100644 --- a/lib/chef/application/knife.rb +++ b/lib/chef/application/knife.rb @@ -106,6 +106,16 @@ class Chef::Application::Knife < Chef::Application :description => "Which format to use for output", :default => "summary" + option :chef_zero_enabled, + :short => "-z", + :long => "--zero", + :description => "Start a chef-zero instance pointed at local cookbooks", + :boolean => true + + option :chef_zero_port, + :long => "--chef-zero-port PORT", + :description => "Port to start chef-zero on" + option :version, :short => "-v", :long => "--version", |