Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions programs/zstdcli.c
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,9 @@ static void usage(FILE* f, const char* programName)
DISPLAY_F(f, " -f, --force Disable input and output checks. Allows overwriting existing files,\n");
DISPLAY_F(f, " receiving input from the console, printing output to STDOUT, and\n");
DISPLAY_F(f, " operating on links, block devices, etc. Unrecognized formats will be\n");
DISPLAY_F(f, " passed-through through as-is.\n\n");
DISPLAY_F(f, " passed-through through as-is.\n");
DISPLAY_F(f, " -q, --quiet Suppress warnings; pass twice to suppress errors.\n");
DISPLAY_F(f, " -v, --verbose Enable verbose output; pass multiple times to increase verbosity.\n\n");

DISPLAY_F(f, " -h Display short usage and exit.\n");
DISPLAY_F(f, " -H, --help Display full help and exit.\n");
Expand All @@ -185,8 +187,6 @@ static void usageAdvanced(const char* programName)
usage(stdout, programName);
DISPLAYOUT("Advanced options:\n");

DISPLAYOUT(" -v, --verbose Enable verbose output; pass multiple times to increase verbosity.\n");
DISPLAYOUT(" -q, --quiet Suppress warnings; pass twice to suppress errors.\n");
#ifndef ZSTD_NOTRACE
DISPLAYOUT(" --trace LOG Log tracing information to LOG.\n");
#endif
Expand Down
2 changes: 2 additions & 0 deletions tests/cli-tests/basic/help.sh.stdout.glob
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ Options:
receiving input from the console, printing output to STDOUT, and
operating on links, block devices, etc. Unrecognized formats will be
passed-through through as-is.
-q, --quiet Suppress warnings; pass twice to suppress errors.
-v, --verbose Enable verbose output; pass multiple times to increase verbosity.

-h Display short usage and exit.
-H, --help Display full help and exit.
Expand Down