Merge pull request #5759 from rhatdan/fix
run/create were processing options after the image name
This commit is contained in:
commit
291ad7fbd9
|
|
@ -40,6 +40,7 @@ func init() {
|
|||
})
|
||||
//common.GetCreateFlags(createCommand)
|
||||
flags := createCommand.Flags()
|
||||
flags.SetInterspersed(false)
|
||||
flags.AddFlagSet(common.GetCreateFlags(&cliVals))
|
||||
flags.AddFlagSet(common.GetNetFlags())
|
||||
flags.SetNormalizeFunc(common.AliasFlags)
|
||||
|
|
|
|||
|
|
@ -46,6 +46,7 @@ func init() {
|
|||
Command: runCommand,
|
||||
})
|
||||
flags := runCommand.Flags()
|
||||
flags.SetInterspersed(false)
|
||||
flags.AddFlagSet(common.GetCreateFlags(&cliVals))
|
||||
flags.AddFlagSet(common.GetNetFlags())
|
||||
flags.SetNormalizeFunc(common.AliasFlags)
|
||||
|
|
|
|||
Loading…
Reference in New Issue