mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-29 22:37:50 +00:00
Use colored/styled text output for diagnostics and usage info (#1775)
This commit is contained in:
13
man/rgbgfx.1
13
man/rgbgfx.1
@@ -15,6 +15,7 @@
|
||||
.Op Fl a Ar attrmap | Fl A
|
||||
.Op Fl b Ar base_ids
|
||||
.Op Fl c Ar pal_spec
|
||||
.Op Fl \-color Ar when
|
||||
.Op Fl d Ar depth
|
||||
.Op Fl i Ar input_tiles
|
||||
.Op Fl L Ar slice
|
||||
@@ -195,6 +196,18 @@ See
|
||||
.Sx PALETTE SPECIFICATION FORMATS
|
||||
for a list of formats and their descriptions.
|
||||
.El
|
||||
.It Fl \-color Ar when
|
||||
Specify when to highlight warning and error messages with color:
|
||||
.Ql always ,
|
||||
.Ql never ,
|
||||
or
|
||||
.Ql auto .
|
||||
.Ql auto
|
||||
determines whether to use colors based on the
|
||||
.Ql Lk https://no-color.org/ NO_COLOR
|
||||
or
|
||||
.Ql Lk https://force-color.org/ FORCE_COLOR
|
||||
environment variables, or whether the output is to a TTY.
|
||||
.It Fl d Ar depth , Fl \-depth Ar depth
|
||||
Set the bit depth of the output tile data, in bits per pixel (bpp), either 1 or 2 (the default).
|
||||
This changes how tile data is output, and the maximum number of colors per palette (2 and 4 respectively).
|
||||
|
||||
Reference in New Issue
Block a user