Rename rgbfix long opt verbose to validate

The previous name was probably copy-pasted, it was completely wrong
This commit is contained in:
ISSOtm
2019-12-29 17:41:19 +01:00
parent 1c4cb2cd2d
commit b81faeccfa
2 changed files with 3 additions and 3 deletions

View File

@@ -45,7 +45,7 @@ static struct option const longopts[] = {
{ "sgb-compatible", no_argument, NULL, 's' }, { "sgb-compatible", no_argument, NULL, 's' },
{ "title", required_argument, NULL, 't' }, { "title", required_argument, NULL, 't' },
{ "version", no_argument, NULL, 'V' }, { "version", no_argument, NULL, 'V' },
{ "verbose", no_argument, NULL, 'v' }, { "validate", no_argument, NULL, 'v' },
{ NULL, no_argument, NULL, 0 } { NULL, no_argument, NULL, 0 }
}; };
@@ -61,7 +61,7 @@ static void print_usage(void)
" -p, --pad-value <value> pad to the next valid size using this value\n" " -p, --pad-value <value> pad to the next valid size using this value\n"
" -r, --ram-size <code> set the cart RAM size byte to this value\n" " -r, --ram-size <code> set the cart RAM size byte to this value\n"
" -V, --version print RGBFIX version and exit\n" " -V, --version print RGBFIX version and exit\n"
" -v, --verbose fix the header logo and both checksums (-f lhg)\n" " -v, --validate fix the header logo and both checksums (-f lhg)\n"
"\n" "\n"
"For help, use `man rgbfix' or go to https://rednex.github.io/rgbds/\n", "For help, use `man rgbfix' or go to https://rednex.github.io/rgbds/\n",
stderr); stderr);

View File

@@ -133,7 +133,7 @@ or
If both this and the game ID are set, the game ID will overwrite the overlapping portion of the title. If both this and the game ID are set, the game ID will overwrite the overlapping portion of the title.
.It Fl V , Fl Fl version .It Fl V , Fl Fl version
Print the version of the program and exit. Print the version of the program and exit.
.It Fl v , Fl Fl verbose .It Fl v , Fl Fl validate
Equivalent to Equivalent to
.Fl f Cm lhg . .Fl f Cm lhg .
.El .El