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:
@ -7,7 +7,7 @@ List the tasks of one or more services
|
||||
|
||||
| Name | Type | Default | Description |
|
||||
|:---------------------------------------|:---------|:--------|:-------------------------------------------|
|
||||
| [`-f`](#filter), [`--filter`](#filter) | `filter` | `{}` | Filter output based on conditions provided |
|
||||
| [`-f`](#filter), [`--filter`](#filter) | `filter` | | Filter output based on conditions provided |
|
||||
| [`--format`](#format) | `string` | | Pretty-print tasks using a Go template |
|
||||
| `--no-resolve` | `bool` | | Do not map IDs to Names |
|
||||
| `--no-trunc` | `bool` | | Do not truncate output |
|
||||
|
||||
Reference in New Issue
Block a user