mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-03-03 13:42:40 +01:00
fixed tests
This commit is contained in:
@@ -504,7 +504,12 @@ void sigInterruptHandler(int p) {
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
CommandLineOptions cli(AppType::SingleReceiver);
|
||||
auto opts = cli.parse(argc, argv);
|
||||
ParsedOptions opts;
|
||||
try {
|
||||
opts = cli.parse(argc, argv);
|
||||
} catch (sls::RuntimeError &e) {
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
auto &o = std::get<CommonOptions>(opts);
|
||||
auto &f = std::get<FrameSyncOptions>(opts);
|
||||
if (o.versionRequested || o.helpRequested) {
|
||||
|
||||
Reference in New Issue
Block a user