mirror of
https://github.com/gbdev/rgbds.git
synced 2026-03-25 22:33:03 +00:00
Reuse the usage.name for printing version info
This commit is contained in:
@@ -409,7 +409,7 @@ static void parseArg(int ch, char *arg) {
|
||||
|
||||
// LCOV_EXCL_START
|
||||
case 'V':
|
||||
printf("rgbgfx %s\n", get_package_version_string());
|
||||
printf("%s %s\n", usage.name.c_str(), get_package_version_string());
|
||||
exit(0);
|
||||
|
||||
case 'v':
|
||||
@@ -481,7 +481,7 @@ static void verboseOutputConfig() {
|
||||
|
||||
style_Set(stderr, STYLE_MAGENTA, false);
|
||||
|
||||
fprintf(stderr, "rgbgfx %s\n", get_package_version_string());
|
||||
fprintf(stderr, "%s %s\n", usage.name.c_str(), get_package_version_string());
|
||||
|
||||
printVVVVVVerbosity();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user