summaryrefslogtreecommitdiff
path: root/lib/chef/knife/search.rb
diff options
context:
space:
mode:
authorPete Higgins <pete@peterhiggins.org>2020-12-28 15:46:23 -0800
committerTim Smith <tsmith84@gmail.com>2020-12-30 11:43:03 -0800
commitc35cc213adc05ab2b3e7465dcdb33811fd2c17e7 (patch)
tree4fe78bb3e1e13eda86b026135b55ac67840490de /lib/chef/knife/search.rb
parentfe478e21ab62de19804c43d04b337c9443779e79 (diff)
downloadchef-c35cc213adc05ab2b3e7465dcdb33811fd2c17e7.tar.gz
Move FormattingOptions to its own file and remove duplication.
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
Diffstat (limited to 'lib/chef/knife/search.rb')
-rw-r--r--lib/chef/knife/search.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/knife/search.rb b/lib/chef/knife/search.rb
index 2feb8e6729..620cfb971d 100644
--- a/lib/chef/knife/search.rb
+++ b/lib/chef/knife/search.rb
@@ -18,6 +18,7 @@
require_relative "../knife"
require_relative "core/node_presenter"
+require_relative "core/formatting_options"
class Chef
class Knife
@@ -32,7 +33,7 @@ class Chef
require_relative "../search/query"
end
- include Knife::Core::NodeFormattingOptions
+ include Knife::Core::FormattingOptions
banner "knife search INDEX QUERY (options)"