mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Implement -X/--max-errors for RGBASM (#1262)
Co-authored-by: Eldred Habert <me@eldred.fr>
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
.Op Fl Q Ar fix_precision
|
||||
.Op Fl r Ar recursion_depth
|
||||
.Op Fl W Ar warning
|
||||
.Op Fl X Ar max_errors
|
||||
.Ar asmfile
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
@@ -176,6 +177,13 @@ See the
|
||||
section for a list of warnings.
|
||||
.It Fl w
|
||||
Disable all warning output, even when turned into errors.
|
||||
.It Fl X Ar max_errors , Fl \-max-errors Ar max_errors
|
||||
If more than this number of errors (not warnings) occur, then abort the assembly process;
|
||||
.Fl X 0
|
||||
disables this behavior.
|
||||
The default is 100 if
|
||||
.Nm
|
||||
is printing errors to a terminal, and 0 otherwise.
|
||||
.El
|
||||
.Sh DIAGNOSTICS
|
||||
Warnings are diagnostic messages that indicate possibly erroneous behavior that does not necessarily compromise the assembling process.
|
||||
|
||||
Reference in New Issue
Block a user