summaryrefslogtreecommitdiff
path: root/usage_test.go
diff options
context:
space:
mode:
authorFredrik Wallgren <[email protected]>2015-11-11 10:15:57 +0100
committerFredrik Wallgren <[email protected]>2015-11-16 13:23:58 +0100
commit330a0da571888c4ec6dac345140a7ee663d00d6e (patch)
treedcef4a491306c39ad6f300aa5885d37d7a333a3d /usage_test.go
parentc4704194de65e09b88ebae2f2c81ee4e0a3be5d8 (diff)
Add built ins to options in help output
Adds help to the options in help output with an easy way to add more built ins.
Diffstat (limited to 'usage_test.go')
-rw-r--r--usage_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/usage_test.go b/usage_test.go
index 83da1c1..5a9199c 100644
--- a/usage_test.go
+++ b/usage_test.go
@@ -23,6 +23,7 @@ options:
--dataset DATASET dataset to use
--optimize OPTIMIZE, -O OPTIMIZE
optimization level
+ --help, -h display this help and exit
`
var args struct {
Input string `arg:"positional"`