CommandLineParser (Bug #3330)


Added by Ilya Lavrenov over 11 years ago. Updated over 9 years ago.


Status:Open Start date:2013-10-21
Priority:Normal Due date:
Assignee:Andrey Morozov % Done:

0%

Category:core
Target version:3.0
Affected version:branch '2.4' (2.4-dev) Operating System:Any
Difficulty:Medium HW Platform:Any
Pull request:

Description

cv::CommandLineParser gives segmentation fault when:
- we pass arguments like '-', '--', '---' and so on (see https://github.com/Itseez/opencv/pull/1590)
- we pass arguments as --argument_name, but inside the program try to get value like this:
parser.get<int>("argument_name");


Associated revisions

Revision 83ef2766
Added by Vadim Pisarevsky over 10 years ago

Merge pull request #3330 from vpisarev:fix_upnp_perf

History

Updated by Ilya Lavrenov over 11 years ago

also, cmd parser fails in constructor with keys
"{ h | help | | show available options }"

Updated by Maksim Shabunin over 9 years ago

Issue has been transferred to GitHub: https://github.com/Itseez/opencv/issues/4640

Also available in: Atom PDF