mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Show conventional colored "error:"/"FATAL:" for CLI option errors
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
#include <string>
|
||||
|
||||
#include "extern/getopt.hpp" // option
|
||||
#include "usage.hpp"
|
||||
|
||||
void cli_ParseArgs(
|
||||
int argc,
|
||||
@@ -14,7 +15,7 @@ void cli_ParseArgs(
|
||||
char const *shortOpts,
|
||||
option const *longOpts,
|
||||
void (*parseArg)(int, char *),
|
||||
void (*fatal)(char const *, ...)
|
||||
Usage usage
|
||||
);
|
||||
|
||||
#endif // RGBDS_CLI_HPP
|
||||
|
||||
Reference in New Issue
Block a user