1
0
mirror of https://github.com/docker/cli.git synced 2025-07-30 17:03:07 +03:00

search: remove client-side default for --limit

The daemon (and registry) already have a default limit. This patch
removes the default from the client side, to not duplicate setting
these defaults.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2022-03-15 15:06:35 +01:00
parent 2dc178c802
commit ccbaaf0722
3 changed files with 4 additions and 7 deletions

View File

@ -18,7 +18,7 @@ Options:
- stars=<number> - image has at least 'number' stars
--format string Pretty-print images using a Go template
--help Print usage
--limit int Max number of search results (default 25)
--limit int Max number of search results
--no-trunc Don't truncate output
```
@ -79,8 +79,8 @@ radial/busyboxplus Full-chain, Internet enabled, busybox made from scratch. Co
### Limit search results (--limit)
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.
The flag `--limit` is the maximum number of results returned by a search. If no
value is set, the default is set by the daemon.
### Filtering