command: allow unknown flags

This commit is contained in:
Adphi 2021-12-08 13:57:49 +01:00
parent eed8fd3501
commit 55251b5020

View File

@ -6,8 +6,9 @@ import (
)
var cmd = &cobra.Command{
Short: "A gRPC micro service",
SilenceUsage: true,
Short: "A gRPC micro service",
SilenceUsage: true,
FParseErrWhitelist: cobra.FParseErrWhitelist{UnknownFlags: true},
}
const (