mirror of https://github.com/docker/cli.git
Merge pull request #3966 from crazy-max/fix-docs-anchore
docs: fix duplicated format anchor in plugin_ls
This commit is contained in:
commit
d0a4b6f497
|
@ -10,8 +10,8 @@ List plugins
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:----------------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|:---------------------------------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| `-f`, `--filter` | `filter` | | Provide filter values (e.g. `enabled=true`) |
|
| [`-f`](#filter), [`--filter`](#filter) | `filter` | | Provide filter values (e.g. `enabled=true`) |
|
||||||
| [`--format`](#format) | `string` | | Format output using a custom template:<br>'table': Print output in table format with column headers (default)<br>'table TEMPLATE': Print output in table format using the given Go template<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
| [`--format`](#format) | `string` | | Format output using a custom template:<br>'table': Print output in table format with column headers (default)<br>'table TEMPLATE': Print output in table format using the given Go template<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
||||||
| `--no-trunc` | | | Don't truncate output |
|
| `--no-trunc` | | | Don't truncate output |
|
||||||
| `-q`, `--quiet` | | | Only display plugin IDs |
|
| `-q`, `--quiet` | | | Only display plugin IDs |
|
||||||
|
@ -35,7 +35,7 @@ ID NAME DESCRIPTION
|
||||||
69553ca1d123 tiborvass/sample-volume-plugin:latest A test plugin for Docker true
|
69553ca1d123 tiborvass/sample-volume-plugin:latest A test plugin for Docker true
|
||||||
```
|
```
|
||||||
|
|
||||||
### <a name="format"></a> Filtering (--filter)
|
### <a name="filter"></a> Filtering (--filter)
|
||||||
|
|
||||||
The filtering flag (`-f` or `--filter`) format is of "key=value". If there is more
|
The filtering flag (`-f` or `--filter`) format is of "key=value". If there is more
|
||||||
than one filter, then pass multiple flags (e.g., `--filter "foo=bar" --filter "bif=baz"`)
|
than one filter, then pass multiple flags (e.g., `--filter "foo=bar" --filter "bif=baz"`)
|
||||||
|
|
Loading…
Reference in New Issue