summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBryan McLellan <btm@opscode.com>2013-05-30 09:17:38 -0700
committerBryan McLellan <btm@opscode.com>2013-05-30 09:17:38 -0700
commitf5d3b63f44f0354d2f7744956213a20f971c4d68 (patch)
treefb09c85dd5e34d4a8ae7d4ff0409f99fc3c87905 /lib
parent98c4cb1d138ea031cc590263517ab2162a72c070 (diff)
parentb410751b753a076488cd8239d2ceeb8e52937624 (diff)
downloadchef-f5d3b63f44f0354d2f7744956213a20f971c4d68.tar.gz
Merge branch 'CHEF-4088'
Diffstat (limited to 'lib')
-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