Branch: Tag:

2002-10-24

2002-10-24 00:22:46 by Martin Nilsson <mani@lysator.liu.se>

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

Rev: server/tools/ntroxen/startdll/cmdline.cpp:1.24

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 $   //   //////////////////////////////////////////////////////////////////////   
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    {