Changed order so that help does not need any other parameter for
external calib
This commit is contained in:
parent
ab2fef9147
commit
e2a4fe3d52
|
@ -67,7 +67,6 @@ std::pair<bool, bool> parseArgs(int argc, char**argv, cv::Size &boardSize, std::
|
||||||
|
|
||||||
po::variables_map vm;
|
po::variables_map vm;
|
||||||
po::store(po::command_line_parser(argc, argv).options(desc).positional(p).run(), vm);
|
po::store(po::command_line_parser(argc, argv).options(desc).positional(p).run(), vm);
|
||||||
po::notify(vm);
|
|
||||||
|
|
||||||
displayImage = vm.count("show-image");
|
displayImage = vm.count("show-image");
|
||||||
|
|
||||||
|
@ -76,6 +75,7 @@ std::pair<bool, bool> parseArgs(int argc, char**argv, cv::Size &boardSize, std::
|
||||||
std::cout << desc << "\n";
|
std::cout << desc << "\n";
|
||||||
return {false, true};
|
return {false, true};
|
||||||
}
|
}
|
||||||
|
po::notify(vm);
|
||||||
|
|
||||||
}
|
}
|
||||||
catch (std::exception const& e)
|
catch (std::exception const& e)
|
||||||
|
|
Loading…
Reference in New Issue