Permalink
Browse files

exit with 0, not 1 if explicitly called with --help or -h

  • Loading branch information...
Simon Huerlimann Simon Huerlimann
Simon Huerlimann authored and Simon Huerlimann committed Jan 2, 2009
1 parent def475d commit 3b115166bf096d6cd555096a8432290b78fa1c96
Showing with 2 additions and 1 deletion.
  1. +2 −1 darcs-to-git
View
@@ -76,7 +76,8 @@ OPTIONS
OPTIONS[:clean_commit_messages] = true
end
opts.on('-h', '--help', "Show this message") do
- abort opts.to_s
+ puts opts.to_s
+ exit
end
end
opts.parse!

0 comments on commit 3b11516

Please sign in to comment.