mirror of https://github.com/containers/podman.git
Fix a few typos.
Signed-off-by: Martin Glatzle <findessp@yandex.ru>
This commit is contained in:
parent
ac3074e90e
commit
b762c15e1c
|
@ -31,7 +31,7 @@ var (
|
||||||
return validate.CheckAllLatestAndIDFile(cmd, args, false, "cidfile")
|
return validate.CheckAllLatestAndIDFile(cmd, args, false, "cidfile")
|
||||||
},
|
},
|
||||||
ValidArgsFunction: common.AutocompleteContainers,
|
ValidArgsFunction: common.AutocompleteContainers,
|
||||||
Example: `podman rm imageID
|
Example: `podman rm ctrID
|
||||||
podman rm mywebserver myflaskserver 860a4b23
|
podman rm mywebserver myflaskserver 860a4b23
|
||||||
podman rm --force --all
|
podman rm --force --all
|
||||||
podman rm -f c684f0d469f2`,
|
podman rm -f c684f0d469f2`,
|
||||||
|
@ -44,7 +44,7 @@ var (
|
||||||
RunE: rmCommand.RunE,
|
RunE: rmCommand.RunE,
|
||||||
Args: rmCommand.Args,
|
Args: rmCommand.Args,
|
||||||
ValidArgsFunction: rmCommand.ValidArgsFunction,
|
ValidArgsFunction: rmCommand.ValidArgsFunction,
|
||||||
Example: `podman container rm imageID
|
Example: `podman container rm ctrID
|
||||||
podman container rm mywebserver myflaskserver 860a4b23
|
podman container rm mywebserver myflaskserver 860a4b23
|
||||||
podman container rm --force --all
|
podman container rm --force --all
|
||||||
podman container rm -f c684f0d469f2`,
|
podman container rm -f c684f0d469f2`,
|
||||||
|
|
|
@ -65,7 +65,7 @@ func CheckAllLatestAndPodIDFile(c *cobra.Command, args []string, ignoreArgLen bo
|
||||||
}
|
}
|
||||||
|
|
||||||
// CheckAllLatestAndIDFile checks that --all and --latest are used correctly for containers and pods
|
// CheckAllLatestAndIDFile checks that --all and --latest are used correctly for containers and pods
|
||||||
// If idFileFlag is set is set, also checks for the --cidfile or --pod-id-file flag.
|
// If idFileFlag is set, also checks for the --cidfile or --pod-id-file flag.
|
||||||
func CheckAllLatestAndIDFile(c *cobra.Command, args []string, ignoreArgLen bool, idFileFlag string) error {
|
func CheckAllLatestAndIDFile(c *cobra.Command, args []string, ignoreArgLen bool, idFileFlag string) error {
|
||||||
var specifiedLatest bool
|
var specifiedLatest bool
|
||||||
argLen := len(args)
|
argLen := len(args)
|
||||||
|
|
Loading…
Reference in New Issue