mirror of https://github.com/docker/docs.git
Merge pull request #3 from nathanleclaire/djfarrelly-filter-create-help-cmd
Fix ordering issue
This commit is contained in:
commit
efeb23d4a7
|
|
@ -381,7 +381,7 @@ func trimDriverFlags(driver string, cmds []cli.Command) ([]cli.Command, error) {
|
||||||
|
|
||||||
for i, cmd := range cmds {
|
for i, cmd := range cmds {
|
||||||
if cmd.HasName("create") {
|
if cmd.HasName("create") {
|
||||||
filteredCmds[i].Flags = append(sharedCreateFlags, driverFlags...)
|
filteredCmds[i].Flags = append(driverFlags, sharedCreateFlags...)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue