summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel DeLeo <dan@opscode.com>2011-11-14 10:58:27 -0800
committerDaniel DeLeo <dan@opscode.com>2011-11-14 10:58:27 -0800
commita1f6c0cbe973307a5b296beed2908d6210021076 (patch)
treefd22e7abd03b76a67f3e9e70f2712172411b0eed
parent216c277cbdc81061ba014c44280e5fc1908ed09a (diff)
downloadchef-a1f6c0cbe973307a5b296beed2908d6210021076.tar.gz
Revert "[CHEF-1911] Also show the -a option"
This reverts commit 3f7317e438ce0fc9736e6ebb22d0378a26f20c51. The '-a' option isn't wired up. We might need some changes to Knife::Core::ObjectLoader to list objects in order to implement '-a' so we'll just revert this one for now.
-rw-r--r--chef/lib/chef/knife/role_from_file.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/chef/lib/chef/knife/role_from_file.rb b/chef/lib/chef/knife/role_from_file.rb
index 8bc4a4102e..c80218b753 100644
--- a/chef/lib/chef/knife/role_from_file.rb
+++ b/chef/lib/chef/knife/role_from_file.rb
@@ -34,11 +34,6 @@ class Chef
@loader ||= Knife::Core::ObjectLoader.new(Chef::Role, ui)
end
- option :all,
- :short => "-a",
- :long => "--all",
- :description => "Upload all roles, rather than just a single role"
-
def run
@name_args.each do |arg|
updated = loader.load_from("roles", arg)