Promote flag
This commit is contained in:
+3
-3
@@ -147,6 +147,7 @@ static void usage(FILE* f, const char* programName)
|
|||||||
DISPLAY_F(f, "Usage: %s [OPTIONS...] [INPUT... | -] [-o OUTPUT]\n\n", programName);
|
DISPLAY_F(f, "Usage: %s [OPTIONS...] [INPUT... | -] [-o OUTPUT]\n\n", programName);
|
||||||
DISPLAY_F(f, "Options:\n");
|
DISPLAY_F(f, "Options:\n");
|
||||||
DISPLAY_F(f, " -o OUTPUT Write output to a single file, OUTPUT.\n");
|
DISPLAY_F(f, " -o OUTPUT Write output to a single file, OUTPUT.\n");
|
||||||
|
DISPLAY_F(f, " -c, --stdout Write to STDOUT (even if it is a console) and keep the INPUT file(s).\n");
|
||||||
DISPLAY_F(f, " -k, --keep Preserve INPUT file(s). [Default] \n");
|
DISPLAY_F(f, " -k, --keep Preserve INPUT file(s). [Default] \n");
|
||||||
DISPLAY_F(f, " --rm Remove INPUT file(s) after successful (de)compression to file.\n");
|
DISPLAY_F(f, " --rm Remove INPUT file(s) after successful (de)compression to file.\n");
|
||||||
#ifdef ZSTD_GZCOMPRESS
|
#ifdef ZSTD_GZCOMPRESS
|
||||||
@@ -167,7 +168,8 @@ 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, " -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, " 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, " 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\n");
|
||||||
|
|
||||||
DISPLAY_F(f, " -h Display short usage and exit.\n");
|
DISPLAY_F(f, " -h Display short usage and exit.\n");
|
||||||
DISPLAY_F(f, " -H, --help Display full help and exit.\n");
|
DISPLAY_F(f, " -H, --help Display full help and exit.\n");
|
||||||
@@ -181,10 +183,8 @@ static void usageAdvanced(const char* programName)
|
|||||||
DISPLAYOUT("\n");
|
DISPLAYOUT("\n");
|
||||||
usage(stdout, programName);
|
usage(stdout, programName);
|
||||||
DISPLAYOUT("Advanced options:\n");
|
DISPLAYOUT("Advanced options:\n");
|
||||||
DISPLAYOUT(" -c, --stdout Write to STDOUT (even if it is a console) and keep the INPUT file(s).\n\n");
|
|
||||||
|
|
||||||
DISPLAYOUT(" -v, --verbose Enable verbose output; pass multiple times to increase verbosity.\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
|
#ifndef ZSTD_NOTRACE
|
||||||
DISPLAYOUT(" --trace LOG Log tracing information to LOG.\n");
|
DISPLAYOUT(" --trace LOG Log tracing information to LOG.\n");
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user