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,33 +34,38 @@ cargo install --path .
clear-docker-images <OPTIONS>
```
## Flags
## Options
```bash
-d, --date <DATE>
filter by date.
USAGE:
clear-docker-images [OPTIONS] [REPOSITORY]
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]
ARGS:
<REPOSITORY>
filter by repository name
--dry-run
image cleanup will not be triggered [default: false]
OPTIONS:
-d, --date <DATE>
filter by date.
--force
force image removal [default: false]
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]
-h, --help
Print help information
--dry-run
image cleanup will not be triggered [default: false]
-r, --repository <REPOSITORY>
filter by repository name
--force
force image removal [default: false]
-t, --tags <TAGS>
add tags exclusion
-h, --help
Print help information
-v, --verbose
add more logs [default: false]
-t, --tags <TAGS>
add tags exclusion
-V, --version
Print version information
-v, --verbose
add more logs [default: false]
-V, --version
Print version information
```