Allow --debug to be set with K3S_DEBUG env var

This commit is contained in:
Darren Shepherd 2019-11-12 08:19:30 +00:00
parent f3b1ba7fe9
commit 3e213d1347

View File

@ -25,6 +25,7 @@ func NewApp() *cli.App {
Name: "debug",
Usage: "Turn on debug logs",
Destination: &debug,
EnvVar: "K3S_DEBUG",
},
}