Browse files

sort commands for --help

  • Loading branch information...
1 parent d44d086 commit 35f46732ee6387177a1d8fde368894accc75ac65 @thbishop committed Aug 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/fission/command_line_parser.rb
View
2 lib/fission/command_line_parser.rb
@@ -94,7 +94,7 @@ def commands_help
ui.output "\nCommands:"
- @command_names_and_summaries.each_pair do |name, summary|
+ Hash[@command_names_and_summaries.sort].each_pair do |name, summary|
ui.output_printf "%-#{longest_cmd.length}s %s\n", name, summary
end
end

0 comments on commit 35f4673

Please sign in to comment.