diff options
author | Alex Pop <al3xpop@gmail.com> | 2015-08-01 07:51:59 +0100 |
---|---|---|
committer | Steven Danna <steve@chef.io> | 2015-08-25 17:30:23 +0100 |
commit | 1fe8fc1e9e445baadc341b2357c25e752b561637 (patch) | |
tree | 09636a7d312a6ffc4d36b88ea4135636a0ed84c1 /lib/chef/knife.rb | |
parent | b1342d9bf65a6a59dfe1057fac7a1d7f758f1e99 (diff) | |
download | chef-1fe8fc1e9e445baadc341b2357c25e752b561637.tar.gz |
Be explicit about 'knife rehash' in subcommand_not_found
Diffstat (limited to 'lib/chef/knife.rb')
-rw-r--r-- | lib/chef/knife.rb | 2 |
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) |