diff --git a/commands.go b/commands.go index 01c82e2112..e08b2e5d29 100644 --- a/commands.go +++ b/commands.go @@ -381,7 +381,7 @@ func trimDriverFlags(driver string, cmds []cli.Command) ([]cli.Command, error) { for i, cmd := range cmds { if cmd.HasName("create") { - filteredCmds[i].Flags = append(sharedCreateFlags, driverFlags...) + filteredCmds[i].Flags = append(driverFlags, sharedCreateFlags...) } }