mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-30 06:47:48 +00:00
Reuse the usage.name for printing version info
This commit is contained in:
@@ -283,7 +283,7 @@ static void parseArg(int ch, char *arg) {
|
||||
|
||||
// LCOV_EXCL_START
|
||||
case 'V':
|
||||
printf("rgblink %s\n", get_package_version_string());
|
||||
printf("%s %s\n", usage.name.c_str(), get_package_version_string());
|
||||
exit(0);
|
||||
|
||||
case 'v':
|
||||
@@ -330,7 +330,7 @@ static void verboseOutputConfig() {
|
||||
|
||||
style_Set(stderr, STYLE_MAGENTA, false);
|
||||
|
||||
fprintf(stderr, "rgblink %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