add back --redmine-host option for compatibility

because we don't want to break old OpenProject installations.
However, this options is deprecated.
pull/1615/head
Philipp Tessenow 11 years ago
parent e70c93ba4b
commit e625117005
  1. 1
      extra/svn/reposman.rb

@ -93,6 +93,7 @@ OptionParser.new do |opts|
" -r openproject.example.net",
" -r http://openproject.example.net",
" -r https://openproject.example.net") {|v| $openproject_host = v}
opts.on('', "--redmine-host HOST", "DEPRECATED: please use --openproject-host instead") {|v| $openproject_host = v}
opts.on("-k", "--key KEY", "use KEY as the OpenProject API key") {|v| $api_key = v}
opts.separator("")
opts.separator("Options:")

Loading…
Cancel
Save