mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-02-01 23:54:56 +01:00
added command line option
This commit is contained in:
@@ -55,6 +55,12 @@ void CmdParser::Parse(const std::string &s) {
|
||||
command_ = arguments_[0];
|
||||
arguments_.erase(begin(arguments_));
|
||||
}
|
||||
//allow comma sep
|
||||
for (auto& arg : arguments_){
|
||||
if (arg.back() == ',')
|
||||
arg.pop_back();
|
||||
}
|
||||
|
||||
DecodeIdAndPosition(command_.c_str());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user