mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-21 18:52:07 +00:00
Rework help/usage messages
Trimmed down the option lists as per @bentley's request; Reinstated the man pages' synopsis
This commit is contained in:
@@ -83,19 +83,18 @@ static struct option const longopts[] = {
|
||||
static void printUsage(void)
|
||||
{
|
||||
fputs(
|
||||
"usage: rgblink [<options>] <file>...\n"
|
||||
" -d, --dmg enable DMG mode, disabling VRAM & VRAM banks\n"
|
||||
"Usage: rgblink [-dtVvw] [-l script] [-m map_file] [-n sym_file]\n"
|
||||
" [-O overlay_file] [-o out_file] [-p pad_value] [-s symbol]\n"
|
||||
" <file> ...\n"
|
||||
"Useful options:\n"
|
||||
" -l, --linkerscript <path> set the input linker script\n"
|
||||
" -m, --map <path> set the output map file\n"
|
||||
" -n, --sym <path> set the output symbol list file\n"
|
||||
" -O, --overlay <path> set the input overlay file\n"
|
||||
" -o, --output <path> set the output file\n"
|
||||
" -p, --pad <value> set the value to pad between sections with\n"
|
||||
" -s, --smart <symbol?> does nothing, nobody knows what it's supposed to\n"
|
||||
" -t, --tiny enable 32k mode, replacing ROMX with ROM0\n"
|
||||
" -V, --version print RGBLINK version and exits\n"
|
||||
" -v, --verbose report more information\n"
|
||||
" -w, --wramx replace WRAMX with WRAM0 and disable WRAM banks\n",
|
||||
"\n"
|
||||
"For help, use `man rgblink' or go to https://rednex.github.io/rgbds/\n",
|
||||
stderr);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user