mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
rgbasm: fix usage information
This commit is contained in:
@@ -83,9 +83,6 @@
|
|||||||
|
|
||||||
#define MAXSECTIONSIZE 0x4000
|
#define MAXSECTIONSIZE 0x4000
|
||||||
|
|
||||||
#define APPNAME "RGBAsm"
|
|
||||||
#define EXENAME "rgbasm"
|
|
||||||
|
|
||||||
#define NAME_DB "db"
|
#define NAME_DB "db"
|
||||||
#define NAME_DW "dw"
|
#define NAME_DW "dw"
|
||||||
#define NAME_RB "rb"
|
#define NAME_RB "rb"
|
||||||
|
|||||||
@@ -228,21 +228,9 @@ fatalerror(char *s)
|
|||||||
void
|
void
|
||||||
PrintUsage(void)
|
PrintUsage(void)
|
||||||
{
|
{
|
||||||
printf(APPNAME " v" ASM_VERSION " (part of ASMotor " ASMOTOR_VERSION
|
printf("RGBAsm v" ASM_VERSION " (part of ASMotor " ASMOTOR_VERSION
|
||||||
")\n\nUsage: " EXENAME " [options] asmfile\n");
|
")\n\n");
|
||||||
printf("Options:\n");
|
printf("Usage: rgbasm [-b chars] [-g chars] [-i path] [-o outfile] [-z pad_value] file\n");
|
||||||
printf("\t-h\t\tThis text\n");
|
|
||||||
printf("\t-i<path>\tExtra include path\n");
|
|
||||||
printf("\t-o<file>\tWrite objectoutput to <file>\n");
|
|
||||||
printf
|
|
||||||
("\t-g<ASCI>\tChange the four characters used for Gameboy graphics\n"
|
|
||||||
"\t\t\tconstants (default is 0123)\n");
|
|
||||||
printf
|
|
||||||
("\t-b<AS>\t\tChange the two characters used for binary constants\n"
|
|
||||||
"\t\t\t(default is 01)\n");
|
|
||||||
printf
|
|
||||||
("\t-z<hx>\t\tSet the byte value (hex format) used for uninitialised\n"
|
|
||||||
"\t\t\tdata (default is 0x00)\n");
|
|
||||||
exit(EX_USAGE);
|
exit(EX_USAGE);
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user