Changed order so that help does not need any other parameter for

external calib
This commit is contained in:
Thomas FORGIONE 2015-04-21 15:08:56 +02:00
parent ab2fef9147
commit e2a4fe3d52
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,6 @@ std::pair<bool, bool> parseArgs(int argc, char**argv, cv::Size &boardSize, std::
po::variables_map vm;
po::store(po::command_line_parser(argc, argv).options(desc).positional(p).run(), vm);
po::notify(vm);
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";
return {false, true};
}
po::notify(vm);
}
catch (std::exception const& e)