summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Flint <[email protected]>2019-04-30 11:16:01 -0700
committerAlex Flint <[email protected]>2019-04-30 11:16:01 -0700
commitf282f71f2696dde5ad388183e755d030f9cbe38c (patch)
tree1ee90f573fe6c38324f793df4d1863ee3abe0b9e
parente2dda40825e8f3671cb207f6cc2f6e319404d57f (diff)
minor reformat
-rw-r--r--usage.go15
1 files changed, 13 insertions, 2 deletions
diff --git a/usage.go b/usage.go
index f9c1a76..b40619f 100644
--- a/usage.go
+++ b/usage.go
@@ -110,9 +110,20 @@ func (p *Parser) WriteHelp(w io.Writer) {
}
// write the list of built in options
- p.printOption(w, &spec{boolean: true, long: "help", short: "h", help: "display this help and exit", root: -1})
+ p.printOption(w, &spec{
+ boolean: true,
+ long: "help",
+ short: "h",
+ help: "display this help and exit",
+ root: -1,
+ })
if p.version != "" {
- p.printOption(w, &spec{boolean: true, long: "version", help: "display version and exit", root: -1})
+ p.printOption(w, &spec{
+ boolean: true,
+ long: "version",
+ help: "display version and exit",
+ root: -1,
+ })
}
}