Skip to content

Commit

Permalink
Add blank lines for readability
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusmoreira committed Jul 10, 2012
1 parent 182c8f8 commit dfb783b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/acclaim/command/help.rb
Expand Up @@ -34,14 +34,17 @@ def create(base_command, options = {})

Class.new(base_command).tap do |help_command|
add_options_to! base_command, help_command, options if options.options? true

help_command.when_called do
# TODO: implement a way to specify a command to the help option
# and command.
# display_for options.command || args.pop
help_options = Ribbon.merge({ io: help_command.io }, options)

display_for base_command.root, help_options
exit
end

base_command.const_set :Help, help_command
end
end
Expand Down

0 comments on commit dfb783b

Please sign in to comment.