From 16d197a5b9ad504a0a2b85efc076c1a56a270672 Mon Sep 17 00:00:00 2001 From: Matthew McPherrin Date: Tue, 3 Apr 2018 12:41:11 -0700 Subject: [PATCH 1/2] 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{} From 20ca52ddd66b805bfca35b4fc139268581f4c105 Mon Sep 17 00:00:00 2001 From: Cedric Staub Date: Tue, 3 Apr 2018 21:40:40 -0700 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ef17141..4ac4a0e 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ On macOS you can also use homebrew to install: brew install certigo -Note that certigo requires Go 1.9 or later to build. +Note that certigo requires Go 1.10 or later to build. ### Develop