Fix completion issues (fixes #839)

This commit is contained in:
Juan Font 2022-11-20 10:10:44 +00:00 committed by Juan Font
parent c3cdb340de
commit 24f946e2e9

View File

@ -15,7 +15,7 @@ import (
var cfgFile string = ""
func init() {
if len(os.Args) > 1 && (os.Args[1] == "version" || os.Args[1] == "mockoidc") {
if len(os.Args) > 1 && (os.Args[1] == "version" || os.Args[1] == "mockoidc" || os.Args[1] == "completion") {
return
}