summaryrefslogtreecommitdiff
path: root/cmd/podman/common.go
diff options
context:
space:
mode:
authorMatthew Heon <mheon@redhat.com>2018-05-31 14:06:53 -0400
committerAtomic Bot <atomic-devel@projectatomic.io>2018-05-31 20:09:38 +0000
commit824ea4da338891aff122f08f8f97b4d08b1a1e95 (patch)
tree05569ff183c1b92992cddb909d52faa9bdf6926e /cmd/podman/common.go
parentd6b8f62dd6c42fbb32a62f67989317496e1c7e66 (diff)
downloadpodman-824ea4da338891aff122f08f8f97b4d08b1a1e95.tar.gz
podman-824ea4da338891aff122f08f8f97b4d08b1a1e95.tar.bz2
podman-824ea4da338891aff122f08f8f97b4d08b1a1e95.zip
Remove --net flag and make it an alias for --network
Signed-off-by: Matthew Heon <mheon@redhat.com> Closes: #862 Approved by: rhatdan
Diffstat (limited to 'cmd/podman/common.go')
-rw-r--r--cmd/podman/common.go7
1 files changed, 1 insertions, 6 deletions
diff --git a/cmd/podman/common.go b/cmd/podman/common.go
index 635869609..63c41d01c 100644
--- a/cmd/podman/common.go
+++ b/cmd/podman/common.go
@@ -270,12 +270,7 @@ var createFlags = []cli.Flag{
Usage: "Assign a name to the container",
},
cli.StringFlag{
- Name: "net",
- Usage: "Connect a container to a network (alias for --network)",
- Value: "bridge",
- },
- cli.StringFlag{
- Name: "network",
+ Name: "net, network",
Usage: "Connect a container to a network",
Value: "bridge",
},