opts: FilterOpt: show empty string if no values are set

follow-up to f81816ef88

We could decide to not initialize a default, and do this only when
setting a value, but this may require more changes, so doing this
as a starting-point.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2025-10-13 12:06:25 +02:00
parent bb31a8006e
commit e6d150be16
25 changed files with 27 additions and 24 deletions

View File

@ -7,7 +7,7 @@ Remove all stopped containers
| Name | Type | Default | Description |
|:----------------------|:---------|:--------|:-------------------------------------------------|
| [`--filter`](#filter) | `filter` | `{}` | Provide filter values (e.g. `until=<timestamp>`) |
| [`--filter`](#filter) | `filter` | | Provide filter values (e.g. `until=<timestamp>`) |
| `-f`, `--force` | `bool` | | Do not prompt for confirmation |