From: Jean-Philippe Lang Date: Sat, 12 May 2012 12:47:51 +0000 (+0000) Subject: Fixed reposman arguments parsing (#10837). X-Git-Tag: 2.0.0~17 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=30d2bed1fe60151de88104dedbb89af08a101dff;p=redmine.git Fixed reposman arguments parsing (#10837). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9673 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/extra/svn/reposman.rb b/extra/svn/reposman.rb index 8c31b6acb..60cc50400 100755 --- a/extra/svn/reposman.rb +++ b/extra/svn/reposman.rb @@ -69,8 +69,8 @@ optparse = OptionParser.new do |opts| opts.banner = "Usage: reposman.rb [OPTIONS...] -s [DIR] -r [HOST] -k [KEY]" opts.separator("") opts.separator("Required arguments:") - opts.on("-s", "--svn-dir", "use DIR as base directory for svn repositories") {|v| $repos_base = v} - opts.on("-r", "--redmine-host", "assume Redmine is hosted on HOST. Examples:", + opts.on("-s", "--svn-dir DIR", "use DIR as base directory for svn repositories") {|v| $repos_base = v} + opts.on("-r", "--redmine-host HOST","assume Redmine is hosted on HOST. Examples:", " -r redmine.example.net", " -r http://redmine.example.net", " -r https://redmine.example.net") {|v| $redmine_host = v}