Roxen.git / server / tools / ntroxen / startdll / cmdline.cpp

version» Context lines:

Roxen.git/server/tools/ntroxen/startdll/cmdline.cpp:1:   // cmdline.cpp: implementation of the CCmdLine class.   // - // $Id: cmdline.cpp,v 1.2 2001/06/18 16:35:15 tomas Exp $ + // $Id: cmdline.cpp,v 1.3 2001/06/26 09:54:43 tomas Exp $   //   //////////////////////////////////////////////////////////////////////      #include "stdafx.h"   #include "startdll.h"   #include "cmdline.h"      #ifdef _DEBUG   #undef THIS_FILE   static char THIS_FILE[]=__FILE__;
Roxen.git/server/tools/ntroxen/startdll/cmdline.cpp:300:    "",    "The environment variable .BROXEN_ARGSB. can be used to specify",    "the default arguments.",    "",    " .BArguments:B.",    "",    " .B--versionB.: Output version information.",    "",    " .B--help -?B.: This information.",    "", +  " .B--installB.: Register application and install as", +  " an NT service.", +  "", +  " .B--registerB.: Register application.", +  "", +  " .B--removeB.: Remove all registry setting and uninstall", +  " the NT service.", +  "",    " .B--remove-dumpedB.: Remove all dumped code, thus forcing",    " a recompile.",    "",    " .B--verbose -vB.: Enable more verbose messages.",    "",    " .B--quiet -qB.: Disable most of the messages.",    "",   /*    " .B--log-dir=DIRB.: Set the log directory. Defaults to .B../logsB..",    "",
Roxen.git/server/tools/ntroxen/startdll/cmdline.cpp:351:    " available until the next server restart",    " This will enable a new 'action' in the",    " administration interface",    "",    " .B--with-file-profileB.: Like .B--with-profileB., but save information",    " for each and every file.",    "",    " .B--self-testB.: Runs a testsuite.",    " .B--self-test-verboseB.: Runs a testsuite, report all tests.",   // " .B--self-test-quietB.: Runs a testsuite, only report errors.", +  " .BNOTE:B. You must manually shutdown any", +  " running mysql process both before and", +  " after these commands!",    "",    " .B--onceB.: Run the server only once, in the foreground.", -  " This is very useful when debugging.", +  " This is very useful when debugging.",    "",   /*    " .B--gdbB.: Run the server in gdb. Implies .B--onceB..",    "",   */    " .B--programB.: Start a different program with the roxen", -  " Pike. As an example,", -  " .B./start --program bin/install.pikeB. will", -  " start the installation program normally", -  " started with .B./installB.", +  " Pike.",    "",    " .B--with-debugB.: Enable debug",    "",    " .B--without-debugB.: Disable all debug",    "",    " .B--with-fd-debugB.: Enable FD debug.",    "",    " .B--with-dump-debugB.: Enable dump debug.",    "",   /*
Roxen.git/server/tools/ntroxen/startdll/cmdline.cpp:735:    //'-install'|'--install')    //    if (Match(*argv, "-install", NULL, NULL) ||    Match(*argv, "--install", NULL, NULL) )    {    m_bInstall = TRUE;    type = eArgStart;    return 1;    }    -  //'-install'|'--install') +  //'-register'|'--register')    //    if (Match(*argv, "-register", NULL, NULL) ||    Match(*argv, "--register", NULL, NULL) )    {    m_bRegister = TRUE;    type = eArgStart;    return 1;    }       //'-remove'|'--remove')
Roxen.git/server/tools/ntroxen/startdll/cmdline.cpp:1190:    // No extra handling here    //OutputLineFmt(hOut, ".BNoDebug argument: %sB.", argv[i]);    break;       case eArgVersion:    // No extra handling here    //OutputLineFmt(hOut, ".BVersion argument: %sB.", argv[i]);    break;       case eArgSelfTest: +  //DEFINES="-DRUN_SELF_TEST $DEFINES" +  //rm -rf $VARDIR/test_config* +  //cp -R etc/test/config $VARDIR/test_config +  //cp etc/test/filesystem/test_rxml_package rxml_packages/test_rxml_package +  //DIR=$VARDIR/test_config +  //once=1 +  //remove_dumped=1    m_saPikeArgs.Add("-DRUN_SELF_TEST");    system("rmdir /Q /S ..\\var\\test_config"); -  system("xcopy etc\\roxen_test\\test_config ..\\var\\test_config\\ /E /Q /Y >NUL:"); -  system("copy /Y etc\\roxen_test\\filesystem\\test_rxml_package rxml_packages\\test_rxml_package >NUL:"); +  system("xcopy etc\\test\\config ..\\var\\test_config\\ /E /Q /Y >NUL:"); +  system("copy /Y etc\\test\\filesystem\\test_rxml_package rxml_packages\\test_rxml_package >NUL:");       m_bOnce = TRUE;    m_saRoxenArgs.Add("--config-dir=../var/test_config");    m_saRoxenArgs.Add("--remove-dumped");       //OutputLineFmt(hOut, ".BSelfTest argument: %sB.", argv[i]);    break;       case eArgHelp:    // No extra handling here