From 4c4a009a48bc579b48e2c65ff85b2a9ae61e6e0c Mon Sep 17 00:00:00 2001 From: Thomas Debesse Date: Tue, 11 Apr 2023 16:36:56 +0200 Subject: [PATCH] crunch: reword built-in help and title message --- crunch/crunch.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/crunch/crunch.cpp b/crunch/crunch.cpp index d5a6119e..62575119 100644 --- a/crunch/crunch.cpp +++ b/crunch/crunch.cpp @@ -172,8 +172,6 @@ class crunch { pixel_format fmt = pixel_format_helpers::get_pixel_format_by_index(i); console::printf("-%s", pixel_format_helpers::get_pixel_format_string(fmt)); } - - console::printf("\nFor bugs: https://github.com/DaemonEngine/crunch/issues"); } bool convert(const char* pCommand_line) { @@ -1149,9 +1147,16 @@ static bool check_for_option(int argc, char* argv[], const char* pOption) { //----------------------------------------------------------------------------------------------------------------------- static void print_title() { - console::printf("crunch: Advanced DXTn Texture Compressor (Unity format variant)"); + console::printf("crunch: Advanced DXTn Texture Compressor (Daemon branch, Unity format variant)"); + console::printf(""); + /* Add U suffix to the version string to remind it's the Unity variant. */ + #if defined COMPUTED_VERSION_SUFFIX + console::printf("crnlib version v%u.%02uU %s %s", CRNLIB_VERSION / 100U, CRNLIB_VERSION % 100U, crnlib_is_x64() ? "64-bit" : "32-bit", COMPUTED_VERSION_SUFFIX); + #else + console::printf("crnlib version v%u.%02uU %s Built %s, %s", CRNLIB_VERSION / 100U, CRNLIB_VERSION % 100U, crnlib_is_x64() ? "64-bit" : "32-bit", __DATE__, __TIME__); + #endif console::printf(""); - console::printf("Brought to you by:"); + console::printf("Crunch is brought to you by:"); console::printf("- 2014-2023 Daemon Developers and contributors"); console::printf(" https://github.com/DaemonEngine/crunch"); /* Who owns the copyright, Alexander, Unity, both? @@ -1167,12 +1172,7 @@ static void print_title() { console::printf("- 2010-2017 Richard Geldreich, Jr. and Binomial LLC and contributors"); console::printf(" https://github.com/BinomialLLC/crunch"); console::printf(""); - /* Add U suffix to the version string to remind it's the Unity variant. */ - #if defined COMPUTED_VERSION_SUFFIX - console::printf("crnlib version v%u.%02uU %s %s", CRNLIB_VERSION / 100U, CRNLIB_VERSION % 100U, crnlib_is_x64() ? "64-bit" : "32-bit", COMPUTED_VERSION_SUFFIX); - #else - console::printf("crnlib version v%u.%02uU %s Built %s, %s", CRNLIB_VERSION / 100U, CRNLIB_VERSION % 100U, crnlib_is_x64() ? "64-bit" : "32-bit", __DATE__, __TIME__); - #endif + console::printf("Please report bugs here: https://github.com/DaemonEngine/crunch/issues"); console::printf(""); }