do not parse empty default values and improve error messages

This commit is contained in:
Pavel Rojtberg
2015-09-10 18:22:35 +02:00
parent 9c3f95782d
commit 08dd126f08
2 changed files with 18 additions and 8 deletions

View File

@@ -618,7 +618,7 @@ For the described keys:
# Bad call
$ ./app -fps=aaa
ERRORS:
Exception: can not convert: [aaa] to [double]
Parameter 'fps': can not convert: [aaa] to [double]
@endcode
*/
class CV_EXPORTS CommandLineParser