CommandLineParser and negative values (Bug #3512)


Added by Philippe FOUBERT about 11 years ago. Updated over 9 years ago.


Status:Open Start date:2014-01-29
Priority:Normal Due date:
Assignee:Philippe FOUBERT % Done:

0%

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

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 correctly
  • appli.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

Revision 432546e4
Added by Vadim Pisarevsky about 10 years ago

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

Also available in: Atom PDF