Doc update
This commit is contained in:
parent
2264032e47
commit
236de28cb7
|
@ -1,4 +1,5 @@
|
|||
## CHANGELOG
|
||||
* 0.22.0 - Same folder as input, suffix options + lossless flag
|
||||
* 0.21.0 - Compress by quality and long/short edge resize options
|
||||
* 0.20.0 - Keep original dates and format conversion
|
||||
* 0.19.0 - Rust migration
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
```
|
||||
USAGE:
|
||||
caesiumclt.exe [FLAGS] [OPTIONS] --max-size <max-size> --output <output> --quality <quality> [FILE]...
|
||||
caesiumclt.exe [FLAGS] [OPTIONS] --quality <quality> [FILE]...
|
||||
|
||||
FLAGS:
|
||||
-d, --dry-run do not compress files but just show output paths
|
||||
|
@ -22,6 +22,7 @@ FLAGS:
|
|||
-h, --help Prints help information
|
||||
--keep-dates keep original file date information
|
||||
-S, --keep-structure keep the folder structure, can be used only with -R
|
||||
-l, --lossless perform lossless compression
|
||||
-Q, --quiet suppress all output
|
||||
-R, --recursive if input is a folder, scan subfolders too
|
||||
--same-folder-as-input sets the output folder to be the same as the input folder. Overwrites original files
|
||||
|
@ -39,6 +40,8 @@ OPTIONS:
|
|||
--png-opt-level <png-opt-level> select level for PNG optimization, between [0-6] [default: 3]
|
||||
-q, --quality <quality> sets output file quality between [0-100], 0 for optimization
|
||||
--short-edge <short-edge> sets the size of the shortest edge of the image
|
||||
--suffix <suffix> convert the image to the selected format (jpg, png, webp, tiff) [default:
|
||||
none]
|
||||
--threads <threads> specify the number of parallel jobs (max is the number of processors
|
||||
available) [default: 0]
|
||||
--verbose <verbose> select how much output you want to see, 0 is equal to -Q, --quiet [default:
|
||||
|
|
|
@ -102,7 +102,7 @@ pub struct Opt {
|
|||
#[structopt(long = "same-folder-as-input", conflicts_with = "output")]
|
||||
pub same_folder_as_input: bool,
|
||||
|
||||
/// convert the image to the selected format (jpg, png, webp, tiff)
|
||||
/// add a suffix to the output filename
|
||||
#[structopt(long = "suffix", default_value = "none")]
|
||||
pub suffix: String,
|
||||
|
||||
|
|
Loading…
Reference in New Issue