summaryrefslogtreecommitdiffstats
path: root/Source/ctest.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-04-25 18:52:02 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-04-25 18:52:02 (GMT)
commit05ce4afb3e777c276759c8cbc21ee0fce8299dab (patch)
treedcee71db8cfab5896d7e459b1b865caf8578ad36 /Source/ctest.cxx
parent8a96b2ec49419174dde494051fa6eb5dc0499ffb (diff)
downloadCMake-05ce4afb3e777c276759c8cbc21ee0fce8299dab.zip
CMake-05ce4afb3e777c276759c8cbc21ee0fce8299dab.tar.gz
CMake-05ce4afb3e777c276759c8cbc21ee0fce8299dab.tar.bz2
ENH: Rename option -D to -C because we will use -D later
Diffstat (limited to 'Source/ctest.cxx')
-rw-r--r--Source/ctest.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/ctest.cxx b/Source/ctest.cxx
index ffc567b..0152fab 100644
--- a/Source/ctest.cxx
+++ b/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"