Philip Top

Results 298 comments of Philip Top

Book definitely needs some updates. I think it would be good to see if there are some issues with the include order on different compilers as well just to make...

Are you using the `CLI::AsNumberWithUnit` transform? or are you talking about just plain numbers that happen to have strngs at the end?

One possibility would be adding `require_option` functions just like `require_subcommand` functions to App class. Then if you wanted only one of a subset of options you could define those options...

You would probably want a min and max just like for `require_subcommand` but it should be reasonably straightforward to implement.

I think this issue can be closed. As best as I can tell this capability is in place now with the 1.8 release.

Just in case this has not been answered yet the way to do this is that the options are placed in an option group. ```cpp group=app.add_option_group("subgroup"); group->add_flag("--cpu", isOnCpu, "Run the...

Reopening this issue to be closed when additional documentation on this is added to the book

Option groups are a way to cluster different flags and options together for logical or control purposes. It may seem like a workaround for this particular case, but if you...

It looks as if there is no to_string operation for a pair, so it is failing on the validation of the default_val. That will probably take a bit to fix...

Basically what you did should ideally work, but it does require there to be some way to convert the value to a string, which in the case of pair doesn't...