Merge pull request #11121 from shishir-a412ed/docker_help_issue
Fix: docker -d -h start daemon instead of showing help menu Upstream-commit: 8e107a93210c54f22ec1354d969c771b1abfbe05 Component: engine
This commit is contained in:
@@ -70,6 +70,10 @@ func main() {
|
||||
setDefaultConfFlag(flTrustKey, defaultTrustKeyFile)
|
||||
|
||||
if *flDaemon {
|
||||
if *flHelp {
|
||||
flag.Usage()
|
||||
return
|
||||
}
|
||||
mainDaemon()
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user