1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #11121 from shishir-a412ed/docker_help_issue

Fix: docker -d -h start daemon instead of showing help menu
This commit is contained in:
Jessie Frazelle 2015-03-02 15:40:27 -08:00
commit 8e107a9321

View file

@ -70,6 +70,10 @@ func main() {
setDefaultConfFlag(flTrustKey, defaultTrustKeyFile)
if *flDaemon {
if *flHelp {
flag.Usage()
return
}
mainDaemon()
return
}