Skip to content

Commit

Permalink
Merge pull request #42565 from aiordache/update_validate_flag
Browse files Browse the repository at this point in the history
Make `validate` flag description more generic
  • Loading branch information
thaJeztah committed Jun 24, 2021
2 parents 314759d + f558056 commit 8a529d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/dockerd/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func (o *daemonOptions) InstallFlags(flags *pflag.FlagSet) {
}

flags.BoolVarP(&o.Debug, "debug", "D", false, "Enable debug mode")
flags.BoolVar(&o.Validate, "validate", false, "Validate configuration file and exit")
flags.BoolVar(&o.Validate, "validate", false, "Validate daemon configuration and exit")
flags.StringVarP(&o.LogLevel, "log-level", "l", "info", `Set the logging level ("debug"|"info"|"warn"|"error"|"fatal")`)
flags.BoolVar(&o.TLS, FlagTLS, DefaultTLSValue, "Use TLS; implied by --tlsverify")
flags.BoolVar(&o.TLSVerify, FlagTLSVerify, dockerTLSVerify || DefaultTLSValue, "Use TLS and verify the remote")
Expand Down

0 comments on commit 8a529d4

Please sign in to comment.