Fix filters displaying for docker search

Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
This commit is contained in:
yuexiao-wang 2017-07-13 16:30:44 +08:00
parent e3746d388e
commit bd64ad25fb
1 changed files with 2 additions and 5 deletions

View File

@ -94,7 +94,6 @@ radial/busyboxplus Full-chain, Internet enabled, busybox made from scratch. Co
The flag `--limit` is the maximum number of results returned by a search. This value could The flag `--limit` is the maximum number of results returned by a search. This value could
be in the range between 1 and 100. The default value of `--limit` is 25. be in the range between 1 and 100. The default value of `--limit` is 25.
### Filtering ### Filtering
The filtering flag (`-f` or `--filter`) format is a `key=value` pair. If there is more The filtering flag (`-f` or `--filter`) format is a `key=value` pair. If there is more
@ -103,9 +102,8 @@ than one filter, then pass multiple flags (e.g. `--filter "foo=bar" --filter "bi
The currently supported filters are: The currently supported filters are:
* stars (int - number of stars the image has) * stars (int - number of stars the image has)
* is-automated (true|false) - is the image automated or not * is-automated (boolean - true or false) - is the image automated or not
* is-official (true|false) - is the image official or not * is-official (boolean - true or false) - is the image official or not
#### stars #### stars
@ -121,7 +119,6 @@ progrium/busybox 50
radial/busyboxplus Full-chain, Internet enabled, busybox made... 8 [OK] radial/busyboxplus Full-chain, Internet enabled, busybox made... 8 [OK]
``` ```
#### is-automated #### is-automated
This example displays images with a name containing 'busybox' This example displays images with a name containing 'busybox'