Skip to content

Commit

Permalink
Minor help template tweak.
Browse files Browse the repository at this point in the history
  • Loading branch information
alecthomas committed Dec 17, 2015
1 parent b5ff633 commit ad87b9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ Args:
{{.Context.Args|ArgsToTwoColumns|FormatTwoColumns}}
{{end}}\
{{if .Context.SelectedCommand}}\
Subcommands:
{{if .Context.SelectedCommand.Commands}}\
Subcommands:
{{template "FormatCommands" .Context.SelectedCommand}}
{{end}}\
{{else if .App.Commands}}\
Expand Down

0 comments on commit ad87b9d

Please sign in to comment.