mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-12 12:57:13 +02:00
fix
This commit is contained in:
@ -5,10 +5,10 @@
|
||||
#include "CmdLineParser.h"
|
||||
#include "CmdProxy.h"
|
||||
#include "container_utils.h"
|
||||
#include "string_utils.h"
|
||||
#include "multiSlsDetector.h"
|
||||
#include "slsDetectorCommand.h"
|
||||
#include "sls_detector_exceptions.h"
|
||||
#include "string_utils.h"
|
||||
|
||||
#include <cstdlib>
|
||||
#include <memory>
|
||||
@ -30,14 +30,14 @@ class multiSlsDetectorClient {
|
||||
if (parser.isHelp())
|
||||
action_ = slsDetectorDefs::HELP_ACTION;
|
||||
runCommand();
|
||||
|
||||
}
|
||||
multiSlsDetectorClient(const std::string &args, int action,
|
||||
multiSlsDetector *myDetector = nullptr,
|
||||
std::ostream &output = std::cout)
|
||||
: action_(action), detPtr(myDetector), os(output) {
|
||||
parser.Parse(args);
|
||||
action_ = slsDetectorDefs::HELP_ACTION;
|
||||
if (parser.isHelp())
|
||||
action_ = slsDetectorDefs::HELP_ACTION;
|
||||
runCommand();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user