summaryrefslogtreecommitdiff
path: root/cmd/podman/common.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2019-03-03 20:38:43 -0500
committerDaniel J Walsh <dwalsh@redhat.com>2019-03-03 20:38:43 -0500
commite3358585b37f59fbb4c4ada75840041af4238d1c (patch)
tree0404166cf454cf85dab03a9535c45e5ceee236ea /cmd/podman/common.go
parentf3a3d8e28e4b8ec06dd11ec156c10e243165f19d (diff)
downloadpodman-e3358585b37f59fbb4c4ada75840041af4238d1c.tar.gz
podman-e3358585b37f59fbb4c4ada75840041af4238d1c.tar.bz2
podman-e3358585b37f59fbb4c4ada75840041af4238d1c.zip
Add missing short flag -l for run/create
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'cmd/podman/common.go')
-rw-r--r--cmd/podman/common.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/podman/common.go b/cmd/podman/common.go
index d3387b8f4..c9e937825 100644
--- a/cmd/podman/common.go
+++ b/cmd/podman/common.go
@@ -311,8 +311,8 @@ func getCreateFlags(c *cliconfig.PodmanCommand) {
"kernel-memory", "",
"Kernel memory limit (format: `<number>[<unit>]`, where unit = b, k, m or g)",
)
- createFlags.StringSlice(
- "label", []string{},
+ createFlags.StringSliceP(
+ "label", "l", []string{},
"Set metadata on container (default [])",
)
createFlags.StringSlice(