summaryrefslogtreecommitdiff
path: root/lib/chef/knife/core/hashed_command_loader.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/knife/core/hashed_command_loader.rb')
-rw-r--r--lib/chef/knife/core/hashed_command_loader.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/knife/core/hashed_command_loader.rb b/lib/chef/knife/core/hashed_command_loader.rb
index aecf738332..7b6c1c4c08 100644
--- a/lib/chef/knife/core/hashed_command_loader.rb
+++ b/lib/chef/knife/core/hashed_command_loader.rb
@@ -38,7 +38,7 @@ class Chef
find_longest_key(manifest[KEY]["plugins_by_category"], category_words, " ")
end
- def list_commands(pref_category=nil)
+ def list_commands(pref_category = nil)
if pref_category || manifest[KEY]["plugins_by_category"].key?(pref_category)
{ pref_category => manifest[KEY]["plugins_by_category"][pref_category] }
else