system: Adds support for removing all named destination via --all

Adds support of dropping all named destination from system connections via `--all`.

Closes: https://github.com/containers/podman/issues/12018

Signed-off-by: Aditya Rajan <arajan@redhat.com>
This commit is contained in:
Aditya Rajan
2021-11-08 16:01:57 +05:30
parent 865653b661
commit 338eb9d75e
4 changed files with 57 additions and 8 deletions

View File

@ -4,11 +4,17 @@
podman\-system\-connection\-remove - Delete named destination
## SYNOPSIS
**podman system connection remove** *name*
**podman system connection remove** [*options*] *name*
## DESCRIPTION
Delete named ssh destination.
## OPTIONS
#### **--all**=*false*, **-a**
Remove all connections.
## EXAMPLE
```
$ podman system connection remove production