diff --git a/algo/base/Options.cxx b/algo/base/Options.cxx index 4c1747f50acda78f500d88f48053d2eb3ca90b3c..c7091817faff7e9422ffeacdbf1202381644e861 100644 --- a/algo/base/Options.cxx +++ b/algo/base/Options.cxx @@ -61,7 +61,7 @@ Options::Options(int argc, char** argv) generic.add_options() ("output,o", po::value(&fOutputFile)->default_value("")->value_name("<file>"), "write results to file") - ("write-per-ts,W", po::bool_switch(&fWritePerTimeslice)->default_value(false), + ("split-output-per-ts,S", po::bool_switch(&fSplitOutputPerTS)->default_value(false), "Write results to file per timeslice (resulting files are named <file>_<tsnr>). Requires -o.") ("device,d", po::value(&fDevice)->default_value("cpu")->value_name("<device>"), "select device (cpu, cuda0, cuda1, hip0, ...)") diff --git a/algo/base/Options.h b/algo/base/Options.h index 1da91be39abfd2e4ee6b62882001b69c47f90ff5..1f53cf98516bb914d69294dbdacd55a4631c45ac 100644 --- a/algo/base/Options.h +++ b/algo/base/Options.h @@ -24,7 +24,7 @@ namespace cbm::algo fs::path ParamsDir() const { return fParamsDir; } const std::string& InputLocator() const { return fInputLocator; } fs::path OutputFile() const { return fOutputFile; } - bool WritePerTimeslice() const { return fWritePerTimeslice; } + bool SplitOutputPerTS() const { return fSplitOutputPerTS; } severity_level LogLevel() const { return fLogLevel; } fs::path LogFile() const { return fLogFile; } const std::string& Device() const { return fDevice; } @@ -52,7 +52,7 @@ namespace cbm::algo std::string fParamsDir; // TODO: can we make this a std::path? std::string fInputLocator; std::string fOutputFile; - bool fWritePerTimeslice = false; + bool fSplitOutputPerTS = false; severity_level fLogLevel; std::string fLogFile; std::string fDevice;