mirror of
https://github.com/containers/podman.git
synced 2025-05-17 15:18:43 +08:00
Fix a few typos.
Signed-off-by: Martin Glatzle <findessp@yandex.ru>
This commit is contained in:
@ -31,7 +31,7 @@ var (
|
||||
return validate.CheckAllLatestAndIDFile(cmd, args, false, "cidfile")
|
||||
},
|
||||
ValidArgsFunction: common.AutocompleteContainers,
|
||||
Example: `podman rm imageID
|
||||
Example: `podman rm ctrID
|
||||
podman rm mywebserver myflaskserver 860a4b23
|
||||
podman rm --force --all
|
||||
podman rm -f c684f0d469f2`,
|
||||
@ -44,7 +44,7 @@ var (
|
||||
RunE: rmCommand.RunE,
|
||||
Args: rmCommand.Args,
|
||||
ValidArgsFunction: rmCommand.ValidArgsFunction,
|
||||
Example: `podman container rm imageID
|
||||
Example: `podman container rm ctrID
|
||||
podman container rm mywebserver myflaskserver 860a4b23
|
||||
podman container rm --force --all
|
||||
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
|
||||
// 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 {
|
||||
var specifiedLatest bool
|
||||
argLen := len(args)
|
||||
|
Reference in New Issue
Block a user