Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

update params

  • Loading branch information...
commit 2e72ee8aea828d720de56620f19b4bb38d5fe916 1 parent ea871c9
mguymon authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/main/ruby/solr_sail/cli.rb
8 src/main/ruby/solr_sail/cli.rb
View
@@ -5,15 +5,15 @@
module SolrSail
class CLI < Thor
desc "install", "Install Solr config"
- method_option :dest, :aliases => "-d", :default => 'solr', :desc => "Path to install solr config"
+ method_option :solr_home, :aliases => "-h", :default => 'solr', :desc => "Path to install solr config"
def install
- SolrSail.install_config( :dest => options[:dest] )
+ SolrSail.install_config( :solr_home => options[:solr_home] )
end
desc "start", "Run Solr"
- method_option :dest, :aliases => "-d", :default => 'solr', :desc => "Path to install solr config"
+ method_option :solr_home, :aliases => "-h", :default => 'solr', :desc => "Path to install solr config"
def start
- SolrSail.start( :dest => options[:dest] )
+ SolrSail.start( :solr_home => options[:solr_home] )
end
desc "version", "Version"
Please sign in to comment.
Something went wrong with that request. Please try again.