Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
77d8a704
Commit
77d8a704
authored
Jun 17, 2018
by
Mathieu Giraud
Browse files
lib/CLI11.hpp: do not display empty groups
parent
1be30a61
Changes
1
Show whitespace changes
Inline
Side-by-side
algo/lib/CLI11.hpp
View file @
77d8a704
...
...
@@ -2653,7 +2653,7 @@ class App {
bool
npos
=
false
;
std
::
vector
<
std
::
string
>
groups
;
for
(
const
Option_p
&
opt
:
options_
)
{
if
(
opt
->
nonpositional
())
{
if
(
opt
->
nonpositional
()
&&
opt
->
help_level_
<=
help_level
)
{
npos
=
true
;
// Add group if it is not already in there
...
...
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