shithub: rgbds

Download patch

ref: 3db3421f070670e0f83ca0aad56dfa41a63d52f2
parent: 92eb0a133b3355aa884b20a046388498adcf7129
author: ISSOtm <eldredhabert0@gmail.com>
date: Tue Aug 9 18:28:06 EDT 2022

Correct wrong state transitions in RGBGFX Bash completion script

Isn't strinly-typed programming just lovely?
Fixes #1018

--- a/contrib/bash_compl/_rgbgfx.bash
+++ b/contrib/bash_compl/_rgbgfx.bash
@@ -15,7 +15,7 @@
 		[u]="unique-tiles:normal"
 		[v]="verbose:normal"
 		[Z]="columns:normal"
-		[a]="attr-map:*.attrmap"
+		[a]="attr-map:glob-*.attrmap"
 		[A]="output-attr-map:normal"
 		[b]="base-tiles:unk"
 		[d]="depth:unk"
@@ -22,14 +22,14 @@
 		[L]="slice:unk"
 		[N]="nb-tiles:unk"
 		[n]="nb-palettes:unk"
-		[o]="output:glob *.2bpp"
-		[p]="palette:glob *.pal"
+		[o]="output:glob-*.2bpp"
+		[p]="palette:glob-*.pal"
 		[P]="output-palette:normal"
-		[q]="palette-map:glob *.palmap"
+		[q]="palette-map:glob-*.palmap"
 		[Q]="output-palette-map:normal"
 		[r]="reverse:unk"
 		[s]="palette-size:unk"
-		[t]="tilemap:glob *.tilemap"
+		[t]="tilemap:glob-*.tilemap"
 		[T]="output-tilemap:normal"
 		[x]="trim-end:unk"
 	)