summaryrefslogtreecommitdiff
path: root/cmd/podman/run.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-01-14 18:55:20 -0500
committerDaniel J Walsh <dwalsh@redhat.com>2020-01-16 09:23:32 -0500
commit45e9a6b12e74d50b8f6ab271c7800cb165f451e4 (patch)
tree5083048ba4ccf238dadd5c434528ee65b49fae62 /cmd/podman/run.go
parent61fbce710b8d69e1203ea9055479a3f9dbe626b9 (diff)
downloadpodman-45e9a6b12e74d50b8f6ab271c7800cb165f451e4.tar.gz
podman-45e9a6b12e74d50b8f6ab271c7800cb165f451e4.tar.bz2
podman-45e9a6b12e74d50b8f6ab271c7800cb165f451e4.zip
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 <dwalsh@redhat.com>
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 a6468f225..caa594682 100644
--- a/cmd/podman/run.go
+++ b/cmd/podman/run.go
@@ -25,7 +25,7 @@ var (
return runCmd(&runCommand)
},
Example: `podman run imageID ls -alF /etc
- podman run --net=host imageID dnf -y install java
+ podman run --network=host imageID dnf -y install java
podman run --volume /var/hostdir:/var/ctrdir -i -t fedora /bin/bash`,
}
)