mirror of
https://github.com/containers/podman.git
synced 2025-08-06 19:44:14 +08:00
man page crossrefs: add --filter autocompletes
For all commands with a --filter option, cross-reference against man pages, and vice-versa. I'm sorry. I know this script has gone off the deep end. [NO NEW TESTS NEEDED] although actually I would like to test some broken completions Signed-off-by: Ed Santiago <santiago@redhat.com>
This commit is contained in:
@ -23,11 +23,16 @@ The *filters* argument format is of `key=value`. If there is more than one *filt
|
||||
|
||||
Supported filters:
|
||||
|
||||
| Filter | Description |
|
||||
| :----------------: | --------------------------------------------------------------------------- |
|
||||
| *label* | Only remove volumes, with (or without, in the case of label!=[...] is used) the specified labels. |
|
||||
| *until* | Only remove volumes created before given timestamp. |
|
||||
| *after/since* | Filter by volumes created after the given VOLUME (name or tag) |
|
||||
| Filter | Description |
|
||||
|:-------------:|------------------------------------------------------------------------------------------------------------|
|
||||
| *dangling* | [Bool] Only remove volumes not referenced by any containers |
|
||||
| *driver* | [String] Only remove volumes with the given driver |
|
||||
| *label* | [String] Only remove volumes, with (or without, in the case of label!=[...] is used) the specified labels. |
|
||||
| *name* | [String] Only remove volume with the given name |
|
||||
| *opt* | [String] Only remove volumes created with the given options |
|
||||
| *scope* | [String] Only remove volumes with the given scope |
|
||||
| *until* | [DateTime] Only remove volumes created before given timestamp. |
|
||||
| *after/since* | [Volume] Filter by volumes created after the given VOLUME (name or tag) |
|
||||
|
||||
The `label` *filter* accepts two formats. One is the `label`=*key* or `label`=*key*=*value*, which removes volumes with the specified labels. The other format is the `label!`=*key* or `label!`=*key*=*value*, which removes volumes without the specified labels.
|
||||
|
||||
|
Reference in New Issue
Block a user