use -g for debug mode not -d, that's working dir.

This commit is contained in:
mwells 2014-04-10 00:36:00 -07:00
parent 02304073d4
commit bef076917d
2 changed files with 2 additions and 5 deletions

View File

@ -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>

View File

@ -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 ) {