mirror of
https://github.com/docker/cli.git
synced 2026-01-16 20:22:36 +03:00
Convert dockerd to use cobra and pflag
Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
@@ -101,6 +101,7 @@ func initClientFlags(commonFlags *cliflags.CommonFlags) *cliflags.ClientFlags {
|
||||
|
||||
clientFlags.PostParse = func() {
|
||||
clientFlags.Common.PostParse()
|
||||
cliflags.SetDaemonLogLevel(commonOpts.LogLevel)
|
||||
|
||||
if clientFlags.ConfigDir != "" {
|
||||
cliconfig.SetConfigDir(clientFlags.ConfigDir)
|
||||
|
||||
Reference in New Issue
Block a user