Skip to content

Commit

Permalink
update params
Browse files Browse the repository at this point in the history
  • Loading branch information
mguymon committed Sep 3, 2012
1 parent ea871c9 commit 2e72ee8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/ruby/solr_sail/cli.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
module SolrSail module SolrSail
class CLI < Thor class CLI < Thor
desc "install", "Install Solr config" 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 def install
SolrSail.install_config( :dest => options[:dest] ) SolrSail.install_config( :solr_home => options[:solr_home] )
end end


desc "start", "Run Solr" 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 def start
SolrSail.start( :dest => options[:dest] ) SolrSail.start( :solr_home => options[:solr_home] )
end end


desc "version", "Version" desc "version", "Version"
Expand Down

0 comments on commit 2e72ee8

Please sign in to comment.