Branch: Tag:

2002-10-07

2002-10-07 08:43:18 by Tomas Nilsson <tomas@roxen.com>

Fixed argument handling to --program and removed some output unless
verbose is requested.

Rev: server/tools/ntroxen/startdll/cmdline.cpp:1.19
Rev: server/tools/ntroxen/startdll/roxen.cpp:1.16
Rev: server/tools/ntroxen/version.h:1.19

1:   // cmdline.cpp: implementation of the CCmdLine class.   // - // $Id: cmdline.cpp,v 1.18 2002/04/12 08:54:25 tomas Exp $ + // $Id: cmdline.cpp,v 1.19 2002/10/07 08:43:18 tomas Exp $   //   //////////////////////////////////////////////////////////////////////   
1131:    {    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    {