summaryrefslogtreecommitdiff
path: root/cmd/podman/networks
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-10-21 12:59:42 -0400
committerGitHub <noreply@github.com>2020-10-21 12:59:42 -0400
commita1b942ff401a9315dae05d9a3210780823d12839 (patch)
tree8da82d1850e9e5d833a9e5faa4457afab634db78 /cmd/podman/networks
parent9060af971911b6b4c21b2b24d011835954058d30 (diff)
parent980b1e87d40eedc175cdc76da668572b91784448 (diff)
downloadpodman-a1b942ff401a9315dae05d9a3210780823d12839.tar.gz
podman-a1b942ff401a9315dae05d9a3210780823d12839.tar.bz2
podman-a1b942ff401a9315dae05d9a3210780823d12839.zip
Merge pull request #8034 from rhatdan/options
Switch help messages from using [flags] to [options]
Diffstat (limited to 'cmd/podman/networks')
-rw-r--r--cmd/podman/networks/create.go2
-rw-r--r--cmd/podman/networks/inspect.go2
-rw-r--r--cmd/podman/networks/list.go2
-rw-r--r--cmd/podman/networks/rm.go2
4 files changed, 4 insertions, 4 deletions
diff --git a/cmd/podman/networks/create.go b/cmd/podman/networks/create.go
index 17f39bd8b..634b01ced 100644
--- a/cmd/podman/networks/create.go
+++ b/cmd/podman/networks/create.go
@@ -14,7 +14,7 @@ import (
var (
networkCreateDescription = `create CNI networks for containers and pods`
networkCreateCommand = &cobra.Command{
- Use: "create [flags] [NETWORK]",
+ Use: "create [options] [NETWORK]",
Short: "network create",
Long: networkCreateDescription,
RunE: networkCreate,
diff --git a/cmd/podman/networks/inspect.go b/cmd/podman/networks/inspect.go
index c36125948..b5f141ac8 100644
--- a/cmd/podman/networks/inspect.go
+++ b/cmd/podman/networks/inspect.go
@@ -17,7 +17,7 @@ import (
var (
networkinspectDescription = `Inspect network`
networkinspectCommand = &cobra.Command{
- Use: "inspect [flags] NETWORK [NETWORK...]",
+ Use: "inspect [options] NETWORK [NETWORK...]",
Short: "network inspect",
Long: networkinspectDescription,
RunE: networkInspect,
diff --git a/cmd/podman/networks/list.go b/cmd/podman/networks/list.go
index c53f50c9f..25b7f292f 100644
--- a/cmd/podman/networks/list.go
+++ b/cmd/podman/networks/list.go
@@ -19,7 +19,7 @@ import (
var (
networklistDescription = `List networks`
networklistCommand = &cobra.Command{
- Use: "ls",
+ Use: "ls [options]",
Args: validate.NoArgs,
Short: "network list",
Long: networklistDescription,
diff --git a/cmd/podman/networks/rm.go b/cmd/podman/networks/rm.go
index 86aad43cb..3d7db941a 100644
--- a/cmd/podman/networks/rm.go
+++ b/cmd/podman/networks/rm.go
@@ -16,7 +16,7 @@ import (
var (
networkrmDescription = `Remove networks`
networkrmCommand = &cobra.Command{
- Use: "rm [flags] NETWORK [NETWORK...]",
+ Use: "rm [options] NETWORK [NETWORK...]",
Short: "network rm",
Long: networkrmDescription,
RunE: networkRm,