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
9c5a54da
Commit
9c5a54da
authored
Jun 12, 2019
by
Paul
Browse files
Formatting
parent
753a5332
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/driver/argument_parser.hpp
src/driver/argument_parser.hpp
+2
-1
No files found.
src/driver/argument_parser.hpp
View file @
9c5a54da
...
@@ -199,7 +199,8 @@ struct argument_parser
...
@@ -199,7 +199,8 @@ struct argument_parser
for
(
auto
&&
flag
:
arg
.
flags
)
for
(
auto
&&
flag
:
arg
.
flags
)
keywords
[
flag
]
=
arg
.
nargs
+
1
;
keywords
[
flag
]
=
arg
.
nargs
+
1
;
}
}
auto
arg_map
=
generic_parse
(
std
::
move
(
args
),
[
&
](
const
std
::
string
&
x
)
{
return
keywords
[
x
];
});
auto
arg_map
=
generic_parse
(
std
::
move
(
args
),
[
&
](
const
std
::
string
&
x
)
{
return
keywords
[
x
];
});
for
(
auto
&&
arg
:
arguments
)
for
(
auto
&&
arg
:
arguments
)
{
{
auto
flags
=
arg
.
flags
;
auto
flags
=
arg
.
flags
;
...
...
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