From 45b055af3564c765b41d7dc68510afc2871fb9a5 Mon Sep 17 00:00:00 2001 From: Sebastien Ponce <sponcec3@cern.ch> Date: Mon, 1 Jul 2013 13:40:01 +0000 Subject: [PATCH] small fix of constness + added --xrd option in the help --- test/stressTest/rfio.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/stressTest/rfio.cpp b/test/stressTest/rfio.cpp index 6f828f1e4d..02cb985e59 100644 --- a/test/stressTest/rfio.cpp +++ b/test/stressTest/rfio.cpp @@ -915,7 +915,7 @@ int issueCommand(const std::string &dirpath, //------------------------------------------------------------------------------ // Construct the directory path //------------------------------------------------------------------------------ -std::string buildDirPath(const int tid, char* hostname, struct timeval &tv) { +std::string buildDirPath(const int tid, const char* hostname, struct timeval &tv) { // build base directory std::ostringstream dirpath(""); dirpath << baseDirectory; // Base directory @@ -1168,6 +1168,7 @@ void usage(const std::string programname) { << std::endl << " --buffer-size <size> the size of the buffer to be used for rfio transfers" << std::endl << " --daemonize Run in the background" << std::endl << " -n, --nbiterations <count>The number of iterations in each thread, set to 0 for infinite" + << std::endl << " --xrd Use xroot for transfering files rather than the default rfio" << std::endl << "modes :" << std::endl << " --racecond Switch to race condition mode" << std::endl << " --random Switch to random mode" -- GitLab