summaryrefslogtreecommitdiff
path: root/src/hlp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hlp.c')
-rw-r--r--src/hlp.c33
1 files changed, 24 insertions, 9 deletions
diff --git a/src/hlp.c b/src/hlp.c
index 02d6dfe..7e10e67 100644
--- a/src/hlp.c
+++ b/src/hlp.c
@@ -2,9 +2,24 @@
Copyright 2022-2023 Gabriel Jensen.
This file is part of agbsum.
- agbsum is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
- agbsum is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
- You should have received a copy of the GNU Affero General Public License along with agbsum. If not, see <https://www.gnu.org/licenses/>.
+
+ agbsum is free software: you can redistribute it
+ and/or modify it under the terms of the GNU
+ Affero General Public License as published by
+ the Free Software Foundation, either version 3
+ of the License, or (at your option) any later
+ version.
+
+ agbsum is distributed in the hope that it will
+ be useful, but WITHOUT ANY WARRANTY; without
+ even the implied warranty of MERCHANTABILITY
+ or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Affero General Public License for more
+ details.
+
+ You should have received a copy of the GNU
+ Affero General Public License along with agbsum.
+ If not, see <https://www.gnu.org/licenses/>.
*/
#include <agbsum.h>
@@ -16,16 +31,16 @@ void
agb_hlp (void)
{
fputs (
- "agbsum - Calculate GBA ROM header checksums.\n"
+ "agbsum - Patch AGB image header checksums.\n"
"\n"
- "Usage: agbsum [options] <ROM>\n"
+ "Usage: agbsum [options] <image>\n"
"Options:\n"
" --help -h Print the help screen\n"
- " -p Patch the ROM\n"
- " -s Don't print the results\n"
- " --version Don't print the results\n"
+ " -p Patch the image file\n"
+ " -s Don't print results\n"
+ " --version Print the version number\n"
"\n",
stdout
);
- agb_cpy();
+ agb_cpy ();
}