mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 05:42:09 +02:00
gzip: split unrelated options into multiple placeholders (#12897)
This commit is contained in:
parent
fadddb905c
commit
e7a44c3673
1 changed files with 3 additions and 3 deletions
|
@ -21,12 +21,12 @@
|
||||||
|
|
||||||
- Decompress a `gzip` archive specifying the output filename:
|
- Decompress a `gzip` archive specifying the output filename:
|
||||||
|
|
||||||
`gzip {{-c|--stdout -d|--decompress path/to/file.gz}} > {{path/to/uncompressed_file}}`
|
`gzip {{-c|--stdout}} {{-d|--decompress}} {{path/to/file.gz}} > {{path/to/uncompressed_file}}`
|
||||||
|
|
||||||
- Specify the compression level. 1 is the fastest (low compression), 9 is the slowest (high compression), 6 is the default:
|
- Specify the compression level. 1 is the fastest (low compression), 9 is the slowest (high compression), 6 is the default:
|
||||||
|
|
||||||
`gzip -{{1..9 -c|--stdout path/to/file}} > {{path/to/compressed_file.gz}}`
|
`gzip -{{1..9}} {{-c|--stdout}} {{path/to/file}} > {{path/to/compressed_file.gz}}`
|
||||||
|
|
||||||
- Display the name and reduction percentage for each file compressed or decompressed:
|
- Display the name and reduction percentage for each file compressed or decompressed:
|
||||||
|
|
||||||
`gzip {{-v|--verbose -d|--decompress path/to/file.gz}}`
|
`gzip {{-v|--verbose}} {{-d|--decompress}} {{path/to/file.gz}}`
|
||||||
|
|
Loading…
Add table
Reference in a new issue