You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1077,9 +1077,11 @@ option_groups. These are:
1077
1077
along with the parent for subcommands with fallthrough.
1078
1078
- `.get_option_no_throw(name)`: Get an option pointer by option name. This
1079
1079
function will return a `nullptr` instead of throwing if the option is not
1080
-
available. This method will not search parents of option_options or nameless subcommands regardless of fallthrough status 🚧, this behavior is slightly different from `get_option`.
1080
+
available. This method will not search parents of option_options or nameless
1081
+
subcommands regardless of fallthrough status 🚧, this behavior is slightly
1082
+
different from `get_option`.
1081
1083
- `.get_options(filter)`: Get the list of all defined option pointers (useful
1082
-
for processing the app for custom output formats). If used on a subcommand
1084
+
for processing the app for custom output formats). If used on a subcommand
1083
1085
will also get options that are in the parent app if the subcommand has
1084
1086
fallthrough (and is not nameless 🚧).
1085
1087
- `.parse_order()`: Get the list of option pointers in the order they were
0 commit comments