Permalink
Browse files

set port to numeric in thor

  • Loading branch information...
1 parent 3dfc193 commit 7ca2e7b3190e6ad15168f1b833f0a4f1a8f7f72c mguymon committed Sep 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/ruby/solr_sail/cli.rb
@@ -19,7 +19,7 @@ def install_jars
desc "start", "Run Solr"
method_option :solr_home, :aliases => "-h", :default => 'solr', :desc => "Path to install solr config"
- method_option :port, :aliases => "-p", :type => :integer, :desc => "Port to run Solr on, overrides Solr Home config"
+ method_option :port, :aliases => "-p", :type => :numeric, :desc => "Port to run Solr on, overrides Solr Home config"
def start
SolrSail.start( :solr_home => options[:solr_home], :port => options[:port] )
end

0 comments on commit 7ca2e7b

Please sign in to comment.