mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
rgblib: fix usage information, make it match the rest of rgbds
This commit is contained in:
@@ -15,15 +15,11 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
static void
|
||||||
PrintUsage(void)
|
usage(void)
|
||||||
{
|
{
|
||||||
printf("RGBLib v" LIB_VERSION " (part of ASMotor " ASMOTOR_VERSION ")\n\n"
|
printf("RGBLib v" LIB_VERSION " (part of ASMotor " ASMOTOR_VERSION ")\n\n");
|
||||||
"Usage: rgblib library command [module1 module2 ... modulen]\n"
|
printf("usage: rgblib file [add | delete | extract | list] [module ...]\n");
|
||||||
"Commands:\n\ta\tAdd/replace modules to library\n"
|
|
||||||
"\td\tDelete modules from library\n"
|
|
||||||
"\tl\tList library contents\n"
|
|
||||||
"\tx\tExtract modules from library\n");
|
|
||||||
exit(EX_USAGE);
|
exit(EX_USAGE);
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
@@ -112,9 +108,9 @@ main(int argc, char *argv[])
|
|||||||
l = l->pNext;
|
l = l->pNext;
|
||||||
}
|
}
|
||||||
} else
|
} else
|
||||||
PrintUsage();
|
usage();
|
||||||
} else
|
} else
|
||||||
PrintUsage();
|
usage();
|
||||||
|
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user