Commit 64ae6aff authored by Darren Shepherd's avatar Darren Shepherd Committed by Craig Jellick

Missing registering debug/config flags on server subcommand

parent 8d5f58f0
...@@ -13,7 +13,7 @@ var ( ...@@ -13,7 +13,7 @@ var (
Debug bool Debug bool
DebugFlag = cli.BoolFlag{ DebugFlag = cli.BoolFlag{
Name: "debug", Name: "debug",
Usage: "Turn on debug logs", Usage: "(logging) Turn on debug logs",
Destination: &Debug, Destination: &Debug,
EnvVar: version.ProgramUpper + "_DEBUG", EnvVar: version.ProgramUpper + "_DEBUG",
} }
......
...@@ -77,6 +77,8 @@ func NewServerCommand(action func(*cli.Context) error) cli.Command { ...@@ -77,6 +77,8 @@ func NewServerCommand(action func(*cli.Context) error) cli.Command {
Before: SetupDebug(CheckSELinuxFlags), Before: SetupDebug(CheckSELinuxFlags),
Action: action, Action: action,
Flags: []cli.Flag{ Flags: []cli.Flag{
ConfigFlag,
DebugFlag,
VLevel, VLevel,
VModule, VModule,
LogFile, LogFile,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment