mirror of
https://github.com/docker/docs.git
synced 2026-11-06 12:54:24 +03:00
Merge pull request #3 from nathanleclaire/djfarrelly-filter-create-help-cmd
Fix ordering issue
This commit is contained in:
@@ -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...)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user