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
The `flatten_help` argument combines all subcommands on a single page.
Until now this wasn't supported for `mangen`. With this command the
sections `SYNOPSIS` as well as `SUBCOMMANDS` are changed to imitate the
style of `git stash --help`.
Differences between flattened `--help` and the flattened man:
* `--help` prints the description at the very beginning while Man uses a
section called DESCRIPTION below the USAGE.
* `--help` prints placeholder `[OPTIONS]` while Man prints all options
* `--help` prints positional options (aka arguments) in its own section
called arguments while Man prints them at the end of OPTIONS.
* `--help` prints subcommands as their own section after the options
section while Man uses an extra section called SUBCOMMANDS
* `--help` prints `after_long_help` at the very end while Man uses the
section EXTRA which comes before the sections VERSION and AUTHORS
Signed-off-by: Paul Spooren <[email protected]>
0 commit comments