aboutsummaryrefslogtreecommitdiff
path: root/cmd/podman
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-11-18 17:13:08 -0500
committerDaniel J Walsh <dwalsh@redhat.com>2020-11-19 10:18:06 -0500
commitf4eac94f4daec3ff2a3ba3b468cc6e60dcd9287d (patch)
treef82dc830c7abb8f4dde7411bdf3ef479c292dc99 /cmd/podman
parent70f91fb96d11adb86be955e8a39f9c9096d48638 (diff)
downloadpodman-f4eac94f4daec3ff2a3ba3b468cc6e60dcd9287d.tar.gz
podman-f4eac94f4daec3ff2a3ba3b468cc6e60dcd9287d.tar.bz2
podman-f4eac94f4daec3ff2a3ba3b468cc6e60dcd9287d.zip
Add alias for podman network rm -> remove
docker network remove exists and is alias to docker network rm. Bug for bug compatible. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'cmd/podman')
-rw-r--r--cmd/podman/networks/rm.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/podman/networks/rm.go b/cmd/podman/networks/rm.go
index 34e756a3a..1504d9385 100644
--- a/cmd/podman/networks/rm.go
+++ b/cmd/podman/networks/rm.go
@@ -18,6 +18,7 @@ var (
networkrmDescription = `Remove networks`
networkrmCommand = &cobra.Command{
Use: "rm [options] NETWORK [NETWORK...]",
+ Aliases: []string{"remove"},
Short: "network rm",
Long: networkrmDescription,
RunE: networkRm,