From 45e9a6b12e74d50b8f6ab271c7800cb165f451e4 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Tue, 14 Jan 2020 18:55:20 -0500 Subject: Remove c.String(net) We have a lot of cludgy code trying to make --net and --network equivalent. This will allow --net to still exists but will eliminate the help and confusion. Signed-off-by: Daniel J Walsh --- cmd/podman/common.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'cmd/podman/common.go') diff --git a/cmd/podman/common.go b/cmd/podman/common.go index 9064ec219..8690be64f 100644 --- a/cmd/podman/common.go +++ b/cmd/podman/common.go @@ -375,10 +375,6 @@ func getCreateFlags(c *cliconfig.PodmanCommand) { "name", "", "Assign a name to the container", ) - createFlags.String( - "net", getDefaultNetwork(), - "Connect a container to a network", - ) createFlags.String( "network", getDefaultNetwork(), "Connect a container to a network", -- cgit v1.2.3-54-g00ecf