mirror of
https://github.com/gbdev/rgbds.git
synced 2026-10-06 04:05:38 +00:00
Support the COLUMNS environment variable for help/usage output
This commit is contained in:
1 parent
80c8e77b19
commit
ca2b8e4cde
5 files changed
+30
-13
No files matched your search
@@ -177,6 +177,9 @@ or
|
||||
The defaults are 0123.
|
||||
.It Fl h , Fl \-help
|
||||
Print help text for the program and exit.
|
||||
(Help text wraps to the value of the
|
||||
.Dv COLUMNS
|
||||
environment variable if that is defined as nonzero; or else to the console window width if output is to a TTY.)
|
||||
.It Fl I Ar path , Fl \-include Ar path
|
||||
Add a new
|
||||
.Dq include path ;
|
||||
|
||||
@@ -152,6 +152,9 @@ Trash the global checksum.
|
||||
.El
|
||||
.It Fl h , Fl \-help
|
||||
Print help text for the program and exit.
|
||||
(Help text wraps to the value of the
|
||||
.Dv COLUMNS
|
||||
environment variable if that is defined as nonzero; or else to the console window width if output is to a TTY.)
|
||||
.It Fl i Ar game_id , Fl \-game-id Ar game_id
|
||||
Set the game ID string
|
||||
.Pq Ad 0x13F Ns \(en Ns Ad 0x142
|
||||
|
||||
@@ -257,6 +257,9 @@ Set the bit depth of the output tile data, in bits per pixel (bpp), either 1 or
|
||||
This changes how tile data is output, and the maximum number of colors per palette (2 and 4 respectively).
|
||||
.It Fl h , Fl \-help
|
||||
Print help text for the program and exit.
|
||||
(Help text wraps to the value of the
|
||||
.Dv COLUMNS
|
||||
environment variable if that is defined as nonzero; or else to the console window width if output is to a TTY.)
|
||||
.It Fl i Ar input_tiles , Fl \-input-tileset Ar input_tiles
|
||||
Use the specified input tiles in addition to having
|
||||
.Nm
|
||||
|
||||
@@ -152,6 +152,9 @@ This option automatically enables
|
||||
.Fl w .
|
||||
.It Fl h , Fl \-help
|
||||
Print help text for the program and exit.
|
||||
(Help text wraps to the value of the
|
||||
.Dv COLUMNS
|
||||
environment variable if that is defined as nonzero; or else to the console window width if output is to a TTY.)
|
||||
.It Fl l Ar linker_script , Fl \-linkerscript Ar linker_script
|
||||
Specify a linker script file that tells the linker how sections must be placed in the ROM.
|
||||
The attributes assigned in the linker script must be consistent with any assigned in the code.
|
||||
|
||||
Reference in new issue
Block a user