summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Pop <al3xpop@gmail.com>2015-08-01 07:51:59 +0100
committerSteven Danna <steve@chef.io>2015-08-25 17:30:23 +0100
commit1fe8fc1e9e445baadc341b2357c25e752b561637 (patch)
tree09636a7d312a6ffc4d36b88ea4135636a0ed84c1
parentb1342d9bf65a6a59dfe1057fac7a1d7f758f1e99 (diff)
downloadchef-1fe8fc1e9e445baadc341b2357c25e752b561637.tar.gz
Be explicit about 'knife rehash' in subcommand_not_found
-rw-r--r--lib/chef/knife.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/knife.rb b/lib/chef/knife.rb
index 20a20d2d91..46e968827e 100644
--- a/lib/chef/knife.rb
+++ b/lib/chef/knife.rb
@@ -230,7 +230,7 @@ class Chef
# Mention rehash when the subcommands cache(plugin_manifest.json) is used
if subcommand_loader.is_a?(Chef::Knife::SubcommandLoader::HashedCommandLoader) ||
subcommand_loader.is_a?(Chef::Knife::SubcommandLoader::CustomManifestLoader)
- ui.info("If this is a recently installed plugin, please rehash to update the subcommands cache.")
+ ui.info("If this is a recently installed plugin, please run 'knife rehash' to update the subcommands cache.")
end
if category_commands = guess_category(args)