diff --git a/config/load.go b/config/load.go index 66cd3e448..fc45ef8a7 100644 --- a/config/load.go +++ b/config/load.go @@ -59,7 +59,7 @@ func parse(args []string) (cmdline []string, path string, version bool, err erro switch { // version flag - case arg == "-v" || arg == "--version": + case arg == "-v" || arg == "-version" || arg == "--version": return nil, "", true, nil // config file without '='