Skip to content

Commit

Permalink
Make --help completion exclusive, and rephrasing
Browse files Browse the repository at this point in the history
  • Loading branch information
Rangi42 committed Jan 18, 2025
1 parent 83d18ff commit cb0ac38
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions contrib/zsh_compl/_rgbasm
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ _rgbasm_warnings() {

local args=(
# Arguments are listed here in the same order as in the manual, except for the version and help
'(- : * options)'{-V,--version}'[Print version number]'
'(-h --help)'{-h,--help}'[Print help with usage]'
'(- : * options)'{-V,--version}'[Print version number and exit]'
'(- : * options)'{-h,--help}'[Print help text and exit]'

'(-E --export-all)'{-E,--export-all}'[Export all symbols]'
'(-v --verbose)'{-v,--verbose}'[Print additional messages regarding progression]'
Expand Down
4 changes: 2 additions & 2 deletions contrib/zsh_compl/_rgbfix
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ _mbc_names() {

local args=(
# Arguments are listed here in the same order as in the manual, except for the version and help
'(- : * options)'{-V,--version}'[Print version number]'
'(-h --help)'{-h,--help}'[Print help with usage]'
'(- : * options)'{-V,--version}'[Print version number and exit]'
'(- : * options)'{-h,--help}'[Print help text and exit]'

'(-C --color-only -c --color-compatible)'{-C,--color-only}'[Mark ROM as GBC-only]'
'(-C --color-only -c --color-compatible)'{-c,--color-compatible}'[Mark ROM as GBC-compatible]'
Expand Down
4 changes: 2 additions & 2 deletions contrib/zsh_compl/_rgbgfx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ _depths() {

local args=(
# Arguments are listed here in the same order as in the manual, except for the version and help
'(- : * options)'{-V,--version}'[Print version number]'
'(-h --help)'{-h,--help}'[Print help with usage]'
'(- : * options)'{-V,--version}'[Print version number and exit]'
'(- : * options)'{-h,--help}'[Print help text and exit]'

'(-a --attr-map -A --auto-attr-map)'{-A,--auto-attr-map}'[Shortcut for -a <file>.attrmap]'
'(-C --color-curve)'{-C,--color-curve}'[Generate palettes using GBC color curve]'
Expand Down
4 changes: 2 additions & 2 deletions contrib/zsh_compl/_rgblink
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

local args=(
# Arguments are listed here in the same order as in the manual, except for the version and help
'(- : * options)'{-V,--version}'[Print version number]'
'(-h --help)'{-h,--help}'[Print help with usage]'
'(- : * options)'{-V,--version}'[Print version number and exit]'
'(- : * options)'{-h,--help}'[Print help text and exit]'

'(-d --dmg)'{-d,--dmg}'[Enable DMG mode (-w + no VRAM banking)]'
'(-t --tiny)'{-t,--tiny}'[Enable tiny mode, disabling ROM banking]'
Expand Down
2 changes: 1 addition & 1 deletion man/rgbasm.1
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Export all labels, including unreferenced and local labels.
Change the four characters used for gfx constants.
The defaults are 0123.
.It Fl h , Fl \-help
Print help with usage of the program and exit.
Print help text for the program and exit.
.It Fl I Ar path , Fl \-include Ar path
Add a new
.Dq include path ;
Expand Down
2 changes: 1 addition & 1 deletion man/rgbfix.1
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ Fix the global checksum
Trash the global checksum.
.El
.It Fl h , Fl \-help
Print help with usage of the program and exit.
Print help text for the program and exit.
.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
Expand Down
2 changes: 1 addition & 1 deletion man/rgbgfx.1
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ for a list of formats and their descriptions.
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).
.It Fl h , Fl \-help
Print help with usage of the program and exit.
Print help text for the program and exit.
.It Fl i Ar input_tiles , Fl \-input-tileset Ar input_tiles
Use the specified input tiles in addition to having
.Nm
Expand Down
2 changes: 1 addition & 1 deletion man/rgblink.1
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Prohibit the use of sections that doesn't exist on a DMG, such as VRAM bank 1.
This option automatically enables
.Fl w .
.It Fl h , Fl \-help
Print help with usage of the program and exit.
Print help text for the program and exit.
.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.
Expand Down

0 comments on commit cb0ac38

Please sign in to comment.