command: allow unknown flags

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

View File

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