mirror of https://github.com/k3s-io/k3s
Missing registering debug/config flags on server subcommand
Signed-off-by: Darren Shepherd <darren@rancher.com>pull/2204/head
parent
8d5f58f00e
commit
64ae6affc5
|
@ -13,7 +13,7 @@ var (
|
|||
Debug bool
|
||||
DebugFlag = cli.BoolFlag{
|
||||
Name: "debug",
|
||||
Usage: "Turn on debug logs",
|
||||
Usage: "(logging) Turn on debug logs",
|
||||
Destination: &Debug,
|
||||
EnvVar: version.ProgramUpper + "_DEBUG",
|
||||
}
|
||||
|
|
|
@ -77,6 +77,8 @@ func NewServerCommand(action func(*cli.Context) error) cli.Command {
|
|||
Before: SetupDebug(CheckSELinuxFlags),
|
||||
Action: action,
|
||||
Flags: []cli.Flag{
|
||||
ConfigFlag,
|
||||
DebugFlag,
|
||||
VLevel,
|
||||
VModule,
|
||||
LogFile,
|
||||
|
|
Loading…
Reference in New Issue