diff options
author | Paul Holzinger <pholzing@redhat.com> | 2022-07-22 13:46:28 +0200 |
---|---|---|
committer | Paul Holzinger <pholzing@redhat.com> | 2022-07-22 13:46:28 +0200 |
commit | cbdda4e56e5bd462e4fdf9b5dd38052cf29e3850 (patch) | |
tree | c5365db4ca27ba7b595d8bc647b0deabc64db6e7 /cmd | |
parent | 02eb057920cfd2542518497522f800f54a42643f (diff) | |
download | podman-cbdda4e56e5bd462e4fdf9b5dd38052cf29e3850.tar.gz podman-cbdda4e56e5bd462e4fdf9b5dd38052cf29e3850.tar.bz2 podman-cbdda4e56e5bd462e4fdf9b5dd38052cf29e3850.zip |
docs: remove CNI word where it is not applicable
Most network commands/features work with both netavark and CNI. When
we added added netavark most docs were not vetted and thus still use CNI
network, it should just say network.
Fixes #14990
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/podman/networks/create.go | 2 | ||||
-rw-r--r-- | cmd/podman/networks/inspect.go | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/cmd/podman/networks/create.go b/cmd/podman/networks/create.go index 2cf7023f3..8b0ebeb2b 100644 --- a/cmd/podman/networks/create.go +++ b/cmd/podman/networks/create.go @@ -17,7 +17,7 @@ import ( ) var ( - networkCreateDescription = `create CNI networks for containers and pods` + networkCreateDescription = `create networks for containers and pods` networkCreateCommand = &cobra.Command{ Use: "create [options] [NAME]", Short: "network create", diff --git a/cmd/podman/networks/inspect.go b/cmd/podman/networks/inspect.go index 1a8444147..14f62cbd1 100644 --- a/cmd/podman/networks/inspect.go +++ b/cmd/podman/networks/inspect.go @@ -13,8 +13,8 @@ var ( networkinspectDescription = `Inspect network` networkinspectCommand = &cobra.Command{ Use: "inspect [options] NETWORK [NETWORK...]", - Short: "Displays the raw CNI network configuration for one or more networks.", - Long: networkinspectDescription, + Long: "Displays the network configuration for one or more networks.", + Short: networkinspectDescription, RunE: networkInspect, Example: `podman network inspect podman`, Args: cobra.MinimumNArgs(1), |