Skip to content

Commit

Permalink
Merge pull request #144 from choria-io/143
Browse files Browse the repository at this point in the history
(#143) Use correct compact usage format
  • Loading branch information
ripienaar authored Aug 31, 2023
2 parents 69e2f97 + 8034427 commit 50cb63b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions builder/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -465,8 +465,8 @@ func (b *AppBuilder) createAppCLI() (*fisk.Application, error) {
cmd.UsageTemplate(defaultUsageTemplate)
cmd.ErrorUsageTemplate(defaultUsageTemplate)
case "compact":
cmd.UsageTemplate(fisk.CompactMainUsageTemplate)
cmd.ErrorUsageTemplate(fisk.CompactMainUsageTemplate)
cmd.UsageTemplate(fisk.CompactUsageTemplate)
cmd.ErrorUsageTemplate(fisk.CompactUsageTemplate)
case "short":
cmd.UsageTemplate(fisk.ShorterMainUsageTemplate)
cmd.ErrorUsageTemplate(fisk.ShorterMainUsageTemplate)
Expand Down

0 comments on commit 50cb63b

Please sign in to comment.