diff options
| author | Alex Flint <[email protected]> | 2022-10-29 15:19:23 -0400 |
|---|---|---|
| committer | Alex Flint <[email protected]> | 2022-10-29 15:19:23 -0400 |
| commit | 3d95a706a6a1cc80d62f403778c5d160698003b0 (patch) | |
| tree | b451fc515320dc6721dacc601b799266a8f78c3b /usage.go | |
| parent | d949871b676ed52669c17c2070dfb770b6ce28da (diff) | |
| parent | dbc2ba5d0c9a6a439d1f825f8c299fb276bbc911 (diff) | |
Merge remote-tracking branch 'origin/master' into default-value-issue
Diffstat (limited to 'usage.go')
| -rw-r--r-- | usage.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -290,6 +290,10 @@ func (p *Parser) writeHelpForSubcommand(w io.Writer, cmd *command) { printTwoCols(w, subcmd.name, subcmd.help, "", "") } } + + if p.epilogue != "" { + fmt.Fprintln(w, "\n"+p.epilogue) + } } func (p *Parser) printOption(w io.Writer, spec *spec) { |
