From 30d2bed1fe60151de88104dedbb89af08a101dff Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 12 May 2012 12:47:51 +0000 Subject: [PATCH] Fixed reposman arguments parsing (#10837). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9673 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- extra/svn/reposman.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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} -- 2.39.5