Skip to content

Commit

Permalink
Show help if *no* options are passed in.
Browse files Browse the repository at this point in the history
  • Loading branch information
docwhat committed Apr 21, 2013
1 parent c51d367 commit 363332c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/mergit
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ class MergitProgram
arguments = optparse.parse!

if arguments.size == 0
err "You need to specify the ruby file to merge."
puts optparse
exit
elsif arguments.size > 1
err "You can only specify one ruby file to merge at a time."
end
Expand Down

0 comments on commit 363332c

Please sign in to comment.