shithub: rgbds

Download patch

ref: b81faeccfa9a47cce998d570a664defe65b33aef
parent: 1c4cb2cd2d5d3166cc9fb718a0574cb043883a09
author: ISSOtm <[email protected]>
date: Sun Dec 29 12:41:19 EST 2019

Rename rgbfix long opt `verbose` to `validate`
The previous name was probably copy-pasted, it was completely wrong

--- a/src/fix/main.c
+++ b/src/fix/main.c
@@ -45,7 +45,7 @@
 	{ "sgb-compatible",   no_argument,       NULL, 's' },
 	{ "title",            required_argument, NULL, 't' },
 	{ "version",          no_argument,       NULL, 'V' },
-	{ "verbose",          no_argument,       NULL, 'v' },
+	{ "validate",         no_argument,       NULL, 'v' },
 	{ NULL,               no_argument,       NULL, 0   }
 };
 
@@ -61,7 +61,7 @@
 "    -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"
 "    -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"
 "For help, use `man rgbfix' or go to https://rednex.github.io/rgbds/\n",
 	      stderr);
--- a/src/fix/rgbfix.1
+++ b/src/fix/rgbfix.1
@@ -133,7 +133,7 @@
 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
 Print the version of the program and exit.
-.It Fl v , Fl Fl verbose
+.It Fl v , Fl Fl validate
 Equivalent to
 .Fl f Cm lhg .
 .El