diff --git a/cmd/root/root.go b/cmd/root/root.go index 57f9f6d..473f58a 100644 --- a/cmd/root/root.go +++ b/cmd/root/root.go @@ -198,7 +198,7 @@ func Execute(defaultCommand string) { cmdFound = true } if len(os.Args) >= 2 { - if arg := os.Args[1]; arg == "--help" || arg == "-h" || arg == "help" { + if arg := os.Args[1]; arg == "--help" || arg == "-h" || arg == "help" || arg == "--version" || arg == "-v" { cmdFound = true } }