Skip to content
This repository was archived by the owner on Feb 21, 2024. It is now read-only.

Commit 660428d

Browse files
Fletcher Haynesfhaynes
authored andcommitted
This changes the server sub-command to ignore unknown flag. Fixes FB-2019
1 parent 6a3c47d commit 660428d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cmd/server.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ func newServeCmd(stderr io.Writer) *cobra.Command {
4747
serveCmd := &cobra.Command{
4848
Use: "server",
4949
Short: "Run FeatureBase.",
50+
FParseErrWhitelist: cobra.FParseErrWhitelist{
51+
UnknownFlags: true,
52+
},
5053
Long: `featurebase server runs FeatureBase.
5154
5255
It will load existing data from the configured

0 commit comments

Comments
 (0)