summaryrefslogtreecommitdiff
path: root/lib/chef
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-05-31 10:53:31 -0700
committerTim Smith <tsmith@chef.io>2018-05-31 10:53:31 -0700
commitc57666e8128e291fa3be6a383648dfcbe8923b84 (patch)
treed8a35f25a7488e798146f409af04ad1ebaad654b /lib/chef
parent6ca2263ce47bec67f6b4aebeab5b72109463d98b (diff)
downloadchef-c57666e8128e291fa3be6a383648dfcbe8923b84.tar.gz
Assume ChefDK in the messaging
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef')
-rw-r--r--lib/chef/knife.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/chef/knife.rb b/lib/chef/knife.rb
index 79fdaafd9d..dfaecb34cd 100644
--- a/lib/chef/knife.rb
+++ b/lib/chef/knife.rb
@@ -272,8 +272,7 @@ class Chef
if category_commands = guess_category(args)
list_commands(category_commands)
elsif OFFICIAL_PLUGINS.include?(args[0]) # command was an uninstalled official chef knife plugin
- ui.info("You can install the plugin with `(sudo) gem install knife-#{args[0]}`")
- ui.info("Use `chef gem install knife-#{args[0]}` instead if using ChefDK")
+ ui.info("Use `chef gem install knife-#{args[0]}` to install the plugin into ChefDK")
else
list_commands
end