summaryrefslogtreecommitdiffstats
path: root/main.go
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2018-03-06 16:47:13 +0100
committerSebastien Douheret <sebastien.douheret@iot.bzh>2018-03-06 16:47:13 +0100
commit04040c928142db92d2ef2d4b43ad4701392e5ceb (patch)
tree9d88a7087ff20bdb92c49476c5d46c6d2bdbd8a5 /main.go
parent1441d4c5806219c59fa1ae27c411a0fedb87a7c2 (diff)
Added bash completion support.
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'main.go')
-rw-r--r--main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.go b/main.go
index 7d1f5e1..a6f8104 100644
--- a/main.go
+++ b/main.go
@@ -141,6 +141,7 @@ func main() {
app.Metadata["version"] = AppVersion
app.Metadata["git-tag"] = AppSubVersion
app.Metadata["logger"] = Log
+ app.EnableBashCompletion = true
// Create env vars help
dynDesc := "\nENVIRONMENT VARIABLES:"