Skip to content

Commit

Permalink
sort commands for --help
Browse files Browse the repository at this point in the history
  • Loading branch information
thbishop committed Aug 8, 2012
1 parent d44d086 commit 35f4673
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fission/command_line_parser.rb
Expand Up @@ -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
Expand Down

0 comments on commit 35f4673

Please sign in to comment.