summaryrefslogtreecommitdiff
path: root/cmd/podman/run.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/run.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/run.go')
-rw-r--r--cmd/podman/run.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/run.go b/cmd/podman/run.go
index fbad4237d..e4b25eaf4 100644
--- a/cmd/podman/run.go
+++ b/cmd/podman/run.go
@@ -27,7 +27,7 @@ var runCommand = cli.Command{
Name: "run",
Usage: "Run a command in a new container",
Description: runDescription,
- Flags: runFlags,
+ Flags: sortFlags(runFlags),
Action: runCmd,
ArgsUsage: "IMAGE [COMMAND [ARG...]]",
HideHelp: true,