summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestUploadCommand.cxx
diff options
context:
space:
mode:
authorZack Galbreath <zack.galbreath@kitware.com>2015-02-18 14:15:29 (GMT)
committerBrad King <brad.king@kitware.com>2015-02-23 15:02:00 (GMT)
commitff1ddd2a73dd04e3015c2bc4ffe345f8c6ca02ee (patch)
treee17d8bfee7775b8b52b87b345b2d02897a1b38ae /Source/CTest/cmCTestUploadCommand.cxx
parent0b87b2a33902ac000a0073a1def887599c69809d (diff)
downloadCMake-ff1ddd2a73dd04e3015c2bc4ffe345f8c6ca02ee.zip
CMake-ff1ddd2a73dd04e3015c2bc4ffe345f8c6ca02ee.tar.gz
CMake-ff1ddd2a73dd04e3015c2bc4ffe345f8c6ca02ee.tar.bz2
ctest_upload: Add QUIET option
Diffstat (limited to 'Source/CTest/cmCTestUploadCommand.cxx')
-rw-r--r--Source/CTest/cmCTestUploadCommand.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestUploadCommand.cxx b/Source/CTest/cmCTestUploadCommand.cxx
index 5613751..f5000dd 100644
--- a/Source/CTest/cmCTestUploadCommand.cxx
+++ b/Source/CTest/cmCTestUploadCommand.cxx
@@ -26,6 +26,7 @@ cmCTestGenericHandler* cmCTestUploadCommand::InitializeHandler()
}
static_cast<cmCTestUploadHandler*>(handler)->SetFiles(this->Files);
+ handler->SetQuiet(this->Quiet);
return handler;
}
@@ -38,6 +39,12 @@ bool cmCTestUploadCommand::CheckArgumentKeyword(std::string const& arg)
this->ArgumentDoing = ArgumentDoingFiles;
return true;
}
+ if(arg == "QUIET")
+ {
+ this->ArgumentDoing = ArgumentDoingNone;
+ this->Quiet = true;
+ return true;
+ }
return false;
}