summaryrefslogtreecommitdiff
path: root/lib/chef/knife.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/knife.rb')
-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 74507a4319..9c48925216 100644
--- a/lib/chef/knife.rb
+++ b/lib/chef/knife.rb
@@ -150,7 +150,7 @@ class Chef
commands_to_show.sort.each do |category, commands|
next if category =~ /deprecated/i
msg "** #{category.upcase} COMMANDS **"
- commands.each do |command|
+ commands.sort.each do |command|
msg subcommands[command].banner if subcommands[command]
end
msg