Syntax corrected

Below are the changes proposed.
- Corrected syntax error.
- Updated example commands to maintain consistency.
- Provided more clarity.

Signed-off-by: Venkateswara Reddy Bukkasamudram <bukkasamudram@outlook.com>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 74cc062d24)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Venkateswara Reddy Bukkasamudram 2019-08-01 22:04:39 +10:00 committed by Sebastiaan van Stijn
parent 7bfe3d2006
commit b668f31022
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C
1 changed files with 3 additions and 3 deletions

View File

@ -98,7 +98,7 @@ be in the range between 1 and 100. The default value of `--limit` is 25.
### Filtering
The filtering flag (`-f` or `--filter`) format is a `key=value` pair. 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 is-automated=true --filter stars=3`)
The currently supported filters are:
@ -126,7 +126,7 @@ This example displays images with a name containing 'busybox'
and are automated builds:
```bash
$ docker search --filter is-automated busybox
$ docker search --filter is-automated=true busybox
NAME DESCRIPTION STARS OFFICIAL AUTOMATED
progrium/busybox 50 [OK]
@ -139,7 +139,7 @@ This example displays images with a name containing 'busybox', at least
3 stars and are official builds:
```bash
$ docker search --filter "is-official=true" --filter "stars=3" busybox
$ docker search --filter is-official=true --filter stars=3 busybox
NAME DESCRIPTION STARS OFFICIAL AUTOMATED
progrium/busybox 50 [OK]