Browse Source

ENH: Rename option -D to -C because we will use -D later

Andy Cedilnik 23 years ago
parent
commit
05ce4afb3e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Source/ctest.cxx

+ 2 - 2
Source/ctest.cxx

@@ -38,7 +38,7 @@ int main (int argc, char *argv[])
   for(unsigned int i=1; i < args.size(); ++i)
     {
     std::string arg = args[i];
-    if(arg.find("-D",0) == 0 && i < args.size() - 1)
+    if(arg.find("-C",0) == 0 && i < args.size() - 1)
       {
       inst.m_ConfigType = args[i+1];
       }
@@ -102,7 +102,7 @@ int main (int argc, char *argv[])
        arg.find("/?") == 0)
       {
       std::cerr << "Usage: " << argv[0] << " <options>" << std::endl
-                << "\t -D type      Specify config type" << std::endl
+                << "\t -C type      Specify config type" << std::endl
                 << "\t -E test      Specify regular expression for tests to exclude" 
                 << std::endl
                 << "\t -R test      Specify regular expression for tests to include"