summaryrefslogtreecommitdiff
path: root/cmd/podman/build.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2018-10-11 11:25:41 -0700
committerGitHub <noreply@github.com>2018-10-11 11:25:41 -0700
commit6d8bc879cbcb6673043084658e0facc1752736ad (patch)
tree8f30a057ea8930f3db45eb68e5a821789a014418 /cmd/podman/build.go
parente8172b334e1664a940118e2a2ad8c9f3fcfdfd5c (diff)
parentd73600626d20d1c022610b5fc39eb35606bb3998 (diff)
downloadpodman-6d8bc879cbcb6673043084658e0facc1752736ad.tar.gz
podman-6d8bc879cbcb6673043084658e0facc1752736ad.tar.bz2
podman-6d8bc879cbcb6673043084658e0facc1752736ad.zip
Merge pull request #1619 from QiWang19/issus1610
Sort all CLI flags in podman commands
Diffstat (limited to 'cmd/podman/build.go')
-rw-r--r--cmd/podman/build.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/build.go b/cmd/podman/build.go
index 1b8a5faec..424f9d471 100644
--- a/cmd/podman/build.go
+++ b/cmd/podman/build.go
@@ -29,7 +29,7 @@ var (
Name: "build",
Usage: "Build an image using instructions from Dockerfiles",
Description: buildDescription,
- Flags: append(append(buildahcli.BudFlags, layerFlags...), buildahcli.FromAndBudFlags...),
+ Flags: sortFlags(append(append(buildahcli.BudFlags, layerFlags...), buildahcli.FromAndBudFlags...)),
Action: buildCmd,
ArgsUsage: "CONTEXT-DIRECTORY | URL",
SkipArgReorder: true,