Xapian not indexing repository if project configuration is blank #857

This commit is contained in:
Karel Pičman 2018-05-29 13:56:37 +02:00
parent f81f10ad85
commit dae39dfe27

View File

@ -113,7 +113,7 @@ optparse = OptionParser.new do |opts|
opts.separator('')
opts.separator('Options:')
opts.on('-s', '--stemming_lang a,b,c', Array,'Comma separated list of stemming languages for indexing') { |s| $stem_langs = s }
opts.on('-v', '--verbose', 'verbose') {$verbose += 1}}
opts.on('-v', '--verbose', 'verbose') {$verbose += 1}
opts.on('-e', '--environment ENV', 'Rails ENVIRONMENT (development, testing or production), default production') { |e| $env = e}
opts.on('-t', '--temp-dir PATH', 'Temporary directory for indexing'){ |t| $tempdir = t }
opts.on('-V', '--version', 'show version and exit') { puts VERSION; exit}