CustomHelpTemplate is ignored with --help flag #1703
Labels
area/v2
relates to / is being considered for v2
kind/bug
describes or fixes a bug
status/triage
maintainers still need to look into this
My urfave/cli version is
2.25.0
Checklist
Dependency Management
Describe the bug
While
cli top-level-command help
respectsCustomHelpTemplate
when printing help,cli top-level-command --help
ignores it and printsSubcommandHelpTemplate
instead.Is this intentional? What is the purpose of
SubcommandHelpTemplate
?If this is not intentional i can send a PR switching to
CustomHelpTemplate
To reproduce
Observed behavior
It prints
SubcommandHelpTemplate
Expected behavior
go run ./cmd/app top-level-command --help
should printCustomHelpTemplate
Additional context
temporalio/cli#153
Want to fix this yourself?
Yes
Run
go version
and paste its output herego version
Run
go env
and paste its output hereThe text was updated successfully, but these errors were encountered: