From 74cc062d24a9190da4fc9775d02778adeaac3075 Mon Sep 17 00:00:00 2001 From: Venkateswara Reddy Bukkasamudram Date: Thu, 1 Aug 2019 22:04:39 +1000 Subject: [PATCH] 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 Signed-off-by: Sebastiaan van Stijn --- docs/reference/commandline/search.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/reference/commandline/search.md b/docs/reference/commandline/search.md index d009cbae0f..81cd87ed12 100644 --- a/docs/reference/commandline/search.md +++ b/docs/reference/commandline/search.md @@ -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]