xref: /netbsd-src/external/bsd/zstd/dist/tests/cli-tests/basic/help.sh.stdout.glob (revision 3117ece4fc4a4ca4489ba793710b60b0d26bab6c)
1*3117ece4Schristos+ zstd -h
2*3117ece4SchristosCompress or decompress the INPUT file(s); reads from STDIN if INPUT is `-` or not provided.
3*3117ece4Schristos
4*3117ece4SchristosUsage: zstd *OPTIONS...* *INPUT... | -* *-o OUTPUT*
5*3117ece4Schristos
6*3117ece4SchristosOptions:
7*3117ece4Schristos  -o OUTPUT                     Write output to a single file, OUTPUT.
8*3117ece4Schristos  -k, --keep                    Preserve INPUT file(s). *Default*
9*3117ece4Schristos  --rm                          Remove INPUT file(s) after successful (de)compression.
10*3117ece4Schristos
11*3117ece4Schristos  -#                            Desired compression level, where `#` is a number between 1 and 19;
12*3117ece4Schristos                                lower numbers provide faster compression, higher numbers yield
13*3117ece4Schristos                                better compression ratios. *Default: 3*
14*3117ece4Schristos
15*3117ece4Schristos  -d, --decompress              Perform decompression.
16*3117ece4Schristos  -D DICT                       Use DICT as the dictionary for compression or decompression.
17*3117ece4Schristos
18*3117ece4Schristos  -f, --force                   Disable input and output checks. Allows overwriting existing files,
19*3117ece4Schristos                                receiving input from the console, printing output to STDOUT, and
20*3117ece4Schristos                                operating on links, block devices, etc. Unrecognized formats will be
21*3117ece4Schristos                                passed-through through as-is.
22*3117ece4Schristos
23*3117ece4Schristos  -h                            Display short usage and exit.
24*3117ece4Schristos  -H, --help                    Display full help and exit.
25*3117ece4Schristos  -V, --version                 Display the program version and exit.
26*3117ece4Schristos
27*3117ece4Schristos+ zstd -H
28*3117ece4Schristos...
29*3117ece4SchristosAdvanced options:
30*3117ece4Schristos...
31*3117ece4Schristos+ zstd --help
32*3117ece4Schristos...
33*3117ece4SchristosAdvanced options:
34*3117ece4Schristos...
35