Skip to content

Commit

Permalink
Remove the unnecessary comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
dharamgollapudi committed Dec 11, 2015
1 parent 41f24be commit 8c79db3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions railties/lib/rails/commands/commands_tasks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,9 @@ def write_help_message

def parse_command(command)
case command
when '--version', '-v', 'version'
when '--version', '-v'
'version'
when '--help', '-h', 'help'
when '--help', '-h'
'help'
else
command
Expand Down

0 comments on commit 8c79db3

Please sign in to comment.