Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

Commit fc03283

Browse files
bukkasamudramthaJeztah
authored andcommitted
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 74cc062d24a9190da4fc9775d02778adeaac3075) Signed-off-by: Sebastiaan van Stijn <github@gone.nl> Upstream-commit: b668f3102255814b77f4dca74413e6e671f40d2f Component: cli
1 parent 94739e3 commit fc03283

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • components/cli/docs/reference/commandline

components/cli/docs/reference/commandline/search.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ be in the range between 1 and 100. The default value of `--limit` is 25.
9898
### Filtering
9999

100100
The filtering flag (`-f` or `--filter`) format is a `key=value` pair. If there is more
101-
than one filter, then pass multiple flags (e.g. `--filter "foo=bar" --filter "bif=baz"`)
101+
than one filter, then pass multiple flags (e.g. `--filter is-automated=true --filter stars=3`)
102102

103103
The currently supported filters are:
104104

@@ -126,7 +126,7 @@ This example displays images with a name containing 'busybox'
126126
and are automated builds:
127127

128128
```bash
129-
$ docker search --filter is-automated busybox
129+
$ docker search --filter is-automated=true busybox
130130

131131
NAME DESCRIPTION STARS OFFICIAL AUTOMATED
132132
progrium/busybox 50 [OK]
@@ -139,7 +139,7 @@ This example displays images with a name containing 'busybox', at least
139139
3 stars and are official builds:
140140

141141
```bash
142-
$ docker search --filter "is-official=true" --filter "stars=3" busybox
142+
$ docker search --filter is-official=true --filter stars=3 busybox
143143

144144
NAME DESCRIPTION STARS OFFICIAL AUTOMATED
145145
progrium/busybox 50 [OK]

0 commit comments

Comments
 (0)