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
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -599,6 +599,7 @@ There are several options that are supported on the main app and subcommands and
599
599
-`.footer(message)`: Set text to appear at the bottom of the help string.
600
600
-`.footer(std::string())`: 🆕 Set a callback to generate a string that will appear at the end of the help string.
601
601
-`.set_help_flag(name, message)`: Set the help flag name and message, returns a pointer to the created option.
602
+
-`.set_version_flag(name, versionString or callback, help_message)`: 🆕 Set the version flag name and version string or callback and optional help message, returns a pointer to the created option.
602
603
-`.set_help_all_flag(name, message)`: Set the help all flag name and message, returns a pointer to the created option. Expands subcommands.
603
604
-`.failure_message(func)`: Set the failure message function. Two provided: `CLI::FailureMessage::help` and `CLI::FailureMessage::simple` (the default).
604
605
-`.group(name)`: Set a group name, defaults to `"Subcommands"`. Setting `""` will be hide the subcommand.
0 commit comments