update readme and changelog
This commit is contained in:
parent
2cd9570f8a
commit
743c1b95d9
|
@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- quiet mode
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
## [V1.1] - 2019-04-05
|
## [V1.1] - 2019-04-05
|
||||||
|
|
|
@ -54,18 +54,20 @@ sudo cp $HOME/.img-optimize/optimize.sh /usr/local/bin/img-optimize
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
Bash script to optimize your images and convert them in WebP
|
||||||
Usage: img-optimize [options] <images path>
|
Usage: img-optimize [options] <images path>
|
||||||
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:
|
Options:
|
||||||
--jpg <images path> ..... optimize all jpg images
|
--jpg <images path> ..... optimize all jpg images
|
||||||
--png <images path> ..... optimize all png images
|
--png <images path> ..... optimize all png images
|
||||||
--webp <images path> ..... convert all images in webp
|
--webp <images path> ..... convert all images in webp
|
||||||
--nowebp <images path> ..... optimize all png & jpg images
|
--nowebp <images path> ..... optimize all png & jpg images
|
||||||
--all <images path> ..... optimize all images (png + jpg + webp)
|
--all <images path> ..... 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 :
|
Other options :
|
||||||
-h, --help, help ... displays this help information
|
-h, --help, help ... displays this help information
|
||||||
Example:
|
Examples:
|
||||||
optimize all jpg images in /var/www/images
|
optimize all jpg images in /var/www/images
|
||||||
img-optimize --jpg /var/www/images
|
img-optimize --jpg /var/www/images
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue
Block a user