From 743c1b95d9eae9f09f5490b7d3543aa5f46f3b17 Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Fri, 12 Jul 2019 13:46:09 +0200 Subject: [PATCH] update readme and changelog --- CHANGELOG.md | 4 ++++ README.md | 8 +++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d7b71bf..9a3fb1e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## [Unreleased] +### Added + +- quiet mode + ### Changed ## [V1.1] - 2019-04-05 diff --git a/README.md b/README.md index 656f19d..c2d84af 100644 --- a/README.md +++ b/README.md @@ -54,18 +54,20 @@ sudo cp $HOME/.img-optimize/optimize.sh /usr/local/bin/img-optimize ## Usage ```bash +Bash script to optimize your images and convert them in WebP Usage: img-optimize [options] -If images path is empty, img-optimize will use the current directory +If images path isn't defined, img-optimize will use the current directory Options: --jpg ..... optimize all jpg images --png ..... optimize all png images --webp ..... convert all images in webp --nowebp ..... optimize all png & jpg images --all ..... optimize all images (png + jpg + webp) - -i, --interactive ... run img-optimize in interactive mode + -i, --interactive ..... run img-optimize in interactive mode + -q, --quiet ..... run image optimization quietly Other options : -h, --help, help ... displays this help information -Example: +Examples: optimize all jpg images in /var/www/images img-optimize --jpg /var/www/images ```