CommandLineParser and negative values (Bug #3512)
Description
The parsing done in the function
CommandLineParser::CommandLineParser(int argc, const char* const argv[], const String& keys)
seems buggy:
appli.exe -j=1.2
is treated correctlyappli.exe -1.2
is not treated correctly since it removes the argument because there is not possible argument named "1.2": the "-" character is considered to be only a way to specify an argument name.
Associated revisions
Merge pull request #3512 from vins31:OpenNi2_AsusXtion
History
Updated by Vladislav Vinogradov about 11 years ago
Hello Philippe,
Thank you for reporting the issue!
Unfortunately our resources are limited at the moment.
Do you think you could work on a solution on your own?
Your contribution to the OpenCV repo (see http://www.code.opencv.org/projects/opencv/wiki/How_to_contribute for help) would be very appreciated!
- HW Platform changed from x64 to Any
- Operating System changed from Windows to Any
- Status changed from New to Open
- Assignee changed from Vadim Pisarevsky to Philippe FOUBERT
Updated by Maksim Shabunin over 9 years ago
Issue has been transferred to GitHub: https://github.com/Itseez/opencv/issues/4691