mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-29 22:37:50 +00:00
Add -B/--backtrace option to RGBASM and RGBLINK (#1787)
This commit is contained in:
@@ -28,6 +28,7 @@ _rgbasm_completions() {
|
||||
[V]="version:normal"
|
||||
[W]="warning:warning"
|
||||
[w]=":normal"
|
||||
[B]="backtrace:unk"
|
||||
[b]="binary-digits:unk"
|
||||
[D]="define:unk"
|
||||
[E]="export-all:normal"
|
||||
|
||||
@@ -12,6 +12,7 @@ _rgblink_completions() {
|
||||
[W]="warning:warning"
|
||||
[M]="no-sym-in-map:normal"
|
||||
[d]="dmg:normal"
|
||||
[B]="backtrace:unk"
|
||||
[l]="linkerscript:glob-*"
|
||||
[m]="map:glob-*.map"
|
||||
[n]="sym:glob-*.sym"
|
||||
|
||||
@@ -42,6 +42,7 @@ local args=(
|
||||
'(-v --verbose)'{-v,--verbose}'[Enable verbose output]'
|
||||
-w'[Disable all warnings]'
|
||||
|
||||
'(-B --backtrace)'{-B,--backtrace}'+[Set backtrace depth or style]:depth:'
|
||||
'(-b --binary-digits)'{-b,--binary-digits}'+[Change chars for binary constants]:digit spec:'
|
||||
--color'[Whether to use color in output]:color:(auto always never)'
|
||||
'*'{-D,--define}'+[Define a string symbol]:name + value (default 1):'
|
||||
|
||||
@@ -28,6 +28,7 @@ local args=(
|
||||
'(-w --wramx)'{-w,--wramx}'[Disable WRAM banking]'
|
||||
'(-x --nopad)'{-x,--nopad}'[Disable padding the end of the final file]'
|
||||
|
||||
'(-B --backtrace)'{-B,--backtrace}'+[Set backtrace depth or style]:depth:'
|
||||
--color'[Whether to use color in output]:color:(auto always never)'
|
||||
'(-l --linkerscript)'{-l,--linkerscript}"+[Use a linker script]:linker script:_files -g '*.link'"
|
||||
'(-M --no-sym-in-map)'{-M,--no-sym-in-map}'[Do not output symbol names in map file]'
|
||||
|
||||
Reference in New Issue
Block a user