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