Merge pull request #160 from square/mmc/long-help

Default to using the "long" help format
This commit is contained in:
Matthew McPherrin
2018-04-03 12:52:32 -07:00
committed by GitHub
+2
View File
@@ -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{}