From: Jon Palmisciano Date: Wed, 21 Dec 2022 01:11:23 +0000 (-0500) Subject: Clean up welcome message X-Git-Tag: v1.5.4^2~80^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c93dd71cdb301595a8a9e364348967a173c010c;p=thirdparty%2Fzstd.git Clean up welcome message --- diff --git a/programs/zstdcli.c b/programs/zstdcli.c index d26df2850..84396e507 100644 --- a/programs/zstdcli.c +++ b/programs/zstdcli.c @@ -52,12 +52,12 @@ /*-************************************ * Constants **************************************/ -#define COMPRESSOR_NAME "zstd command line interface" +#define COMPRESSOR_NAME "Zstandard CLI" #ifndef ZSTD_VERSION # define ZSTD_VERSION "v" ZSTD_VERSION_STRING #endif #define AUTHOR "Yann Collet" -#define WELCOME_MESSAGE "*** %s %i-bits %s, by %s ***\n", COMPRESSOR_NAME, (int)(sizeof(size_t)*8), ZSTD_VERSION, AUTHOR +#define WELCOME_MESSAGE "*** %s (%i-bit) %s, by %s ***\n", COMPRESSOR_NAME, (int)(sizeof(size_t)*8), ZSTD_VERSION, AUTHOR #define ZSTD_ZSTDMT "zstdmt" #define ZSTD_UNZSTD "unzstd" @@ -178,6 +178,7 @@ static void usage(FILE* f, const char* programName) static void usage_advanced(const char* programName) { DISPLAYOUT(WELCOME_MESSAGE); + DISPLAYOUT("\n"); usage(stdout, programName); DISPLAYOUT("Advanced options:\n"); DISPLAYOUT(" -c, --stdout Write to STDOUT (even if it is a console) and keep the INPUT file(s).\n\n");