Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
b80edc88
Commit
b80edc88
authored
Dec 05, 2012
by
Davis King
Browse files
Fixed confusing error message.
parent
55d21096
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
dlib/cmd_line_parser/cmd_line_parser_kernel_c.h
dlib/cmd_line_parser/cmd_line_parser_kernel_c.h
+2
-2
No files found.
dlib/cmd_line_parser/cmd_line_parser_kernel_c.h
View file @
b80edc88
...
...
@@ -75,10 +75,10 @@ namespace dlib
// make sure requires clause is not broken
DLIB_CASSERT
(
this
->
parsed_line
()
==
true
&&
N
<
number_of_arguments
(),
"
\t
void cmd_line_parser::operator[](unsigned long N)"
<<
"
\n\t
You must specify a valid
option
and the parser must have run already."
<<
"
\n\t
You must specify a valid
index N
and the parser must have run already."
<<
"
\n\t
this: "
<<
this
<<
"
\n\t
N: "
<<
N
<<
"
\n\t
parsed_line(): "
<<
((
this
->
parsed_line
()
)
?
"true"
:
"false"
)
<<
"
\n\t
parsed_line(): "
<<
this
->
parsed_line
()
<<
"
\n\t
number_of_arguments(): "
<<
number_of_arguments
()
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment