Skip to content

Commit

Permalink
Exit when --help is called
Browse files Browse the repository at this point in the history
  • Loading branch information
mistydemeo committed Jun 25, 2012
1 parent 79f3e5a commit be680ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/svg2raphael
Expand Up @@ -9,6 +9,7 @@ end

if ['-h','-help','--help'].any? {|arg| ARGV[0] == arg}
STDOUT.puts "Usage: svg2raphael <input> ..."
exit 0
end

ARGV.each do |file|
Expand Down

0 comments on commit be680ec

Please sign in to comment.