Update README.md

This commit is contained in:
Antoine Langlois 2022-03-06 14:35:15 +01:00 committed by GitHub
parent 041072bf0a
commit b9adfbf967
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 24 additions and 19 deletions

View File

@ -34,14 +34,22 @@ cargo install --path .
clear-docker-images <OPTIONS>
```
## Flags
## Options
```bash
USAGE:
clear-docker-images [OPTIONS] [REPOSITORY]
ARGS:
<REPOSITORY>
filter by repository name
OPTIONS:
-d, --date <DATE>
filter by date.
Can filter by a minimum age $DATE or from $FROM|$TO (format example: YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS)
[default: $NOW - 2 days]
Can filter by a minimum age $DATE or from $START|$STOP (format example: YYYY-MM-DD or
YYYY-MM-DDTHH:MM:SS) [default: $NOW - 2d]
--dry-run
image cleanup will not be triggered [default: false]
@ -52,9 +60,6 @@ clear-docker-images <OPTIONS>
-h, --help
Print help information
-r, --repository <REPOSITORY>
filter by repository name
-t, --tags <TAGS>
add tags exclusion