mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Fix: docker -d -h start daemon instead of showing help menu
Signed-off-by: Shishir Mahajan <shishir.mahajan@redhat.com>
This commit is contained in:
parent
f92213af88
commit
0ab28c6589
1 changed files with 4 additions and 0 deletions
|
@ -70,6 +70,10 @@ func main() {
|
|||
setDefaultConfFlag(flTrustKey, defaultTrustKeyFile)
|
||||
|
||||
if *flDaemon {
|
||||
if *flHelp {
|
||||
flag.Usage()
|
||||
return
|
||||
}
|
||||
mainDaemon()
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue