Skip to content
This repository has been archived by the owner on Dec 13, 2021. It is now read-only.

Commit

Permalink
fix: detach flag was parsed incorrectly
Browse files Browse the repository at this point in the history
  • Loading branch information
v01dstar committed Jun 24, 2016
1 parent d445e72 commit 1555275
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nmz/cli/container/run/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func prepare(args []string) (dockerOpt *docker.CreateContainerOptions, removeOnE
return
}
removeOnExit = flagSet.IsSet("-rm")
detach = flagSet.IsSet("detach")
detach = flagSet.IsSet("d") || flag.IsSet("-detach")

nmzCfgPath := flagSet.Lookup("-nmz-autopilot").Value.String()
nmzCfg, err = newConfig(nmzCfgPath)
Expand Down

0 comments on commit 1555275

Please sign in to comment.