summaryrefslogtreecommitdiff
path: root/cmd/podman/build.go
diff options
context:
space:
mode:
authorQi Wang <qiwan@redhat.com>2018-10-09 16:06:45 -0400
committerQi Wang <qiwan@redhat.com>2018-10-11 13:17:14 -0400
commitd73600626d20d1c022610b5fc39eb35606bb3998 (patch)
treeb1127660963fad0114bba4a9f61d77e800092095 /cmd/podman/build.go
parentb5f4bb15a5569ba6cf3517c3c979c75ad205ada5 (diff)
downloadpodman-d73600626d20d1c022610b5fc39eb35606bb3998.tar.gz
podman-d73600626d20d1c022610b5fc39eb35606bb3998.tar.bz2
podman-d73600626d20d1c022610b5fc39eb35606bb3998.zip
Sort all command flags
Signed-off-by: Qi Wang <qiwan@redhat.com>
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,