Skip to content

Commit

Permalink
Merge pull request #150 from techgaun/master
Browse files Browse the repository at this point in the history
pass switches to OptionParser.parse opts
  • Loading branch information
parroty authored Aug 11, 2018
2 parents bfa17c9 + 5ac6315 commit e817d00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mix/tasks.ex
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ defmodule Mix.Tasks.Coveralls do
end

def run(args) do
{options, _, _} = OptionParser.parse(args, aliases: [h: :help])
{options, _, _} = OptionParser.parse(args, switches: [help: :boolean], aliases: [h: :help])

if options[:help] do
ExCoveralls.Task.Util.print_help_message
Expand Down

0 comments on commit e817d00

Please sign in to comment.