diff --git a/cmd.go b/cmd.go index b17695d4..6b1b08b9 100644 --- a/cmd.go +++ b/cmd.go @@ -371,6 +371,10 @@ func (i *Info) HelpWithSuperFlags(superF *gnuflag.FlagSet, f *gnuflag.FlagSet) [ if len(i.Aliases) > 0 { fmt.Fprintf(buf, "\nAliases: %s\n", strings.Join(i.Aliases, ", ")) } + if len(i.Examples) > 0 { + fmt.Fprintf(buf, "\nExamples:\n%s", i.Examples) + } + return buf.Bytes() }