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.23 2002/10/23 17:04:22 nilsson Exp $ + // $Id: cmdline.cpp,v 1.24 2002/10/24 00:22:46 nilsson Exp $   //   //////////////////////////////////////////////////////////////////////      #include "stdafx.h"   #include "startdll.h"   #include "cmdline.h"   #include "roxen.h"   #include "enumproc.h"      #ifdef _DEBUG
Roxen.git/server/tools/ntroxen/startdll/cmdline.cpp:1124:   */       //'--program')    // program="$2"    // once=1    // passhelp=1    if (Match(*argv, "--program", NULL, NULL) )    {    if (argc > 1)    { -  m_saRoxenArgs.Add(*argv); -  m_saRoxenArgs.Add(argv[1]); +  int count; +  for (count=0; count<argc; count++) +  m_saRoxenArgs.Add(argv[count]);    m_bOnce = TRUE;    m_bPassHelp = TRUE;    m_bKeepMysql = TRUE;    m_bCheckVersion = FALSE;    type = eArgNtLoader; -  return 2; +  return count;    }    else    {    type = eArgMoreData;    return 1;    }    }       //'--cd')    // cd_to="$2"