summaryrefslogtreecommitdiff
path: root/lib/chef
diff options
context:
space:
mode:
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