From 16d197a5b9ad504a0a2b85efc076c1a56a270672 Mon Sep 17 00:00:00 2001 From: Matthew McPherrin Date: Tue, 3 Apr 2018 12:41:11 -0700 Subject: [PATCH] Default to using the "long" help format Certigo doesn't have too many options, so the long help is a reasonble default. --- main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.go b/main.go index 661e951..bb6843c 100644 --- a/main.go +++ b/main.go @@ -75,6 +75,8 @@ func main() { // Alias starttls to start-tls connect.Flag("starttls", "").Hidden().EnumVar(connectStartTLS, starttls.Protocols...) + // Use long help because many useful flags are under subcommands + app.UsageTemplate(kingpin.LongHelpTemplate) stdout := colorable.NewColorableStdout() result := simpleResult{}