X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=src%2Fxds%2Fxds-cli.git;a=blobdiff_plain;f=main.go;fp=main.go;h=9ac751c660788f6c757fb9b72143a1c96af409db;hp=8d1e0eb5b7e07673dfd0fbc52035128c01084aac;hb=f2838fb4dbd259fb4188800037ea0eef2d6896b9;hpb=0012c3c7b256df7db834080740d8fc124c9dba22 diff --git a/main.go b/main.go index 8d1e0eb..9ac751c 100644 --- a/main.go +++ b/main.go @@ -32,7 +32,6 @@ import ( "gerrit.automotivelinux.org/gerrit/src/xds/xds-agent.git/lib/xaapiv1" common "gerrit.automotivelinux.org/gerrit/src/xds/xds-common.git/golib" "github.com/Sirupsen/logrus" - "github.com/joho/godotenv" "github.com/urfave/cli" ) @@ -149,7 +148,10 @@ func main() { app.Metadata["version"] = AppVersion app.Metadata["git-tag"] = AppSubVersion app.Metadata["logger"] = Log - app.EnableBashCompletion = true + // FIXME: Disable completion for now, because it's not working with options + // (eg. --label) and prevents to complete local path + // (IOW current function only completes command and sub-commands) + app.EnableBashCompletion = false // Create env vars help dynDesc := "\nENVIRONMENT VARIABLES:"