From e2a4fe3d527908226ca8b62fe8a2e60a3fe78d89 Mon Sep 17 00:00:00 2001 From: Thomas FORGIONE Date: Tue, 21 Apr 2015 15:08:56 +0200 Subject: [PATCH] Changed order so that help does not need any other parameter for external calib --- Code/src/Extern/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Code/src/Extern/main.cpp b/Code/src/Extern/main.cpp index 8cce654..61389c4 100644 --- a/Code/src/Extern/main.cpp +++ b/Code/src/Extern/main.cpp @@ -67,7 +67,6 @@ std::pair 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 parseArgs(int argc, char**argv, cv::Size &boardSize, std:: std::cout << desc << "\n"; return {false, true}; } + po::notify(vm); } catch (std::exception const& e)