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
gaoqiong
MIGraphX
Commits
4d10b034
Commit
4d10b034
authored
Jul 03, 2022
by
Paul
Browse files
Cout per line
parent
8b041a8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
src/driver/argument_parser.hpp
src/driver/argument_parser.hpp
+5
-4
No files found.
src/driver/argument_parser.hpp
View file @
4d10b034
...
@@ -476,10 +476,11 @@ struct argument_parser
...
@@ -476,10 +476,11 @@ struct argument_parser
auto
sc
=
spellcheck
(
inputs
);
auto
sc
=
spellcheck
(
inputs
);
if
(
sc
.
distance
<
5
)
if
(
sc
.
distance
<
5
)
{
{
std
::
cout
<<
"Found argument '"
<<
color
::
fg_yellow
<<
sc
.
incorrect
<<
color
::
reset
<<
"'"
;
std
::
cout
<<
"Found argument '"
<<
color
::
fg_yellow
<<
sc
.
incorrect
<<
color
::
reset
std
::
cout
<<
" which wasn't expected, or isn't valid in this context"
<<
std
::
endl
;
<<
"'"
std
::
cout
<<
" "
;
<<
" which wasn't expected, or isn't valid in this context"
<<
std
::
endl
;
std
::
cout
<<
"Did you mean "
<<
color
::
fg_green
<<
sc
.
correct
<<
color
::
reset
<<
"?"
std
::
cout
<<
" "
<<
"Did you mean "
<<
color
::
fg_green
<<
sc
.
correct
<<
color
::
reset
<<
"?"
<<
std
::
endl
;
<<
std
::
endl
;
std
::
cout
<<
std
::
endl
;
std
::
cout
<<
std
::
endl
;
print_usage_for
(
*
sc
.
arg
,
sc
.
correct
);
print_usage_for
(
*
sc
.
arg
,
sc
.
correct
);
...
...
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