mirror of
https://github.com/gigablast/open-source-search-engine.git
synced 2024-10-04 20:27:43 +03:00
use -g for debug mode not -d, that's working dir.
This commit is contained in:
parent
02304073d4
commit
bef076917d
@ -49,9 +49,6 @@ A work-in-progress <a href=/compare.html>comparison to SOLR</a>.
|
||||
<a href=#stopwords>Stopwords</a> - list of common words generally ignored at query time<br><br>
|
||||
<a href=#phrasebreaks>Phrase Breaks</a> - list of punctuation that breaks a phrase<br><br>
|
||||
-->
|
||||
<br>
|
||||
|
||||
|
||||
|
||||
<br><br><a name=quickstart></a>
|
||||
<h1>Quick Start</h1>
|
||||
|
4
main.cpp
4
main.cpp
@ -425,7 +425,7 @@ int main2 ( int argc , char *argv[] ) {
|
||||
|
||||
"-h\tprint this help.\n\n"
|
||||
"-v\tprint version and exit.\n\n"
|
||||
"-d\tdebug mode. do not run as daemon. "
|
||||
"-g\tdebug mode. do not run as daemon. "
|
||||
"log to stderr.\n\n"
|
||||
//"-o\tprint the overview documentation in HTML. "
|
||||
//"Contains the format of hosts.conf.\n\n"
|
||||
@ -1006,7 +1006,7 @@ int main2 ( int argc , char *argv[] ) {
|
||||
if ( strcmp ( cmd , "-r" ) == 0 ) g_recoveryMode = true;
|
||||
|
||||
// debug on gdb? then do not fork
|
||||
if ( strcmp ( cmd , "-d" ) == 0 ) g_conf.m_runAsDaemon = false;
|
||||
if ( strcmp ( cmd , "-g" ) == 0 ) g_conf.m_runAsDaemon = false;
|
||||
|
||||
bool testMandrill = false;
|
||||
if ( strcmp ( cmd , "emailmandrill" ) == 0 ) {
|
||||
|
Loading…
Reference in New Issue
Block a user