Skip to content

Commit

Permalink
Fix typos in rm messages
Browse files Browse the repository at this point in the history
Fix typos in pod rm messages

Signed-off-by: Sujil02 <[email protected]>
  • Loading branch information
sujil02 authored and snj33v committed May 31, 2020
1 parent fde95a2 commit cf3274f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cmd/podman/pods/rm.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ func init() {
})

flags := rmCommand.Flags()
flags.BoolVarP(&rmOptions.All, "all", "a", false, "Restart all running pods")
flags.BoolVarP(&rmOptions.All, "all", "a", false, "Remove all running pods")
flags.BoolVarP(&rmOptions.Force, "force", "f", false, "Force removal of a running pod by first stopping all containers, then removing all containers in the pod. The default is false")
flags.BoolVarP(&rmOptions.Ignore, "ignore", "i", false, "Ignore errors when a specified pod is missing")
flags.BoolVarP(&rmOptions.Latest, "latest", "l", false, "Restart the latest pod podman is aware of")
flags.BoolVarP(&rmOptions.Latest, "latest", "l", false, "Remove the latest pod podman is aware of")
if registry.IsRemote() {
_ = flags.MarkHidden("latest")
_ = flags.MarkHidden("ignore")
Expand Down
2 changes: 0 additions & 2 deletions pkg/domain/infra/abi/pods.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,6 @@ func (ic *ContainerEngine) PodRm(ctx context.Context, namesOrIds []string, optio
err := ic.Libpod.RemovePod(ctx, p, true, options.Force)
if err != nil {
report.Err = err
reports = append(reports, &report)
continue
}
reports = append(reports, &report)
}
Expand Down

0 comments on commit cf3274f

Please sign in to comment.