Permalink
Browse files

unify print_help

  • Loading branch information...
1 parent 20c0ed4 commit bf4f8098c3fedb2b67b923832f3b2eaec76b0252 @zhaocai zhaocai committed Oct 2, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/subcommand.rb
View
@@ -135,8 +135,7 @@ def add_subcommand_help
def add_help_option
global_options do |opts|
opts.on("-h", "--help", "Print this help") do |v|
- add_subcommand_help
- puts @global
+ print_help
exit
end
end

0 comments on commit bf4f809

Please sign in to comment.