diff options
Diffstat (limited to 'lib/chef/knife/node_show.rb')
-rw-r--r-- | lib/chef/knife/node_show.rb | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/chef/knife/node_show.rb b/lib/chef/knife/node_show.rb index 4b0be18890..da2a5940ba 100644 --- a/lib/chef/knife/node_show.rb +++ b/lib/chef/knife/node_show.rb @@ -24,6 +24,7 @@ class Chef class NodeShow < Knife include Knife::Core::NodeFormattingOptions + include Knife::Core::MultiAttributeRetrunOption deps do require 'chef/node' @@ -32,13 +33,6 @@ class Chef banner "knife node show NODE (options)" - @attrs_to_show = [] - option :attribute, - :short => "-a [ATTR]", - :long => "--attribute [ATTR]", - :proc => lambda {|val| @attrs_to_show << val}, - :description => "Show one or more attributes" - option :run_list, :short => "-r", :long => "--run-list", |