Use UpperMap for rgblink -S scramble spec matching

This also makes invalid RGBLINK CLI options into fatal errors
like the other programs
This commit is contained in:
Rangi42
2025-07-29 03:37:32 -04:00
parent cecbf0aa0e
commit 308d488833
5 changed files with 100 additions and 142 deletions

View File

@@ -48,8 +48,6 @@ void error(FileStackNode const *src, uint32_t lineNo, char const *fmt, ...);
void error(char const *fmt, ...);
[[gnu::format(printf, 1, 2)]]
void errorNoDump(char const *fmt, ...);
[[gnu::format(printf, 2, 3)]]
void argError(char flag, char const *fmt, ...);
void scriptError(char const *name, uint32_t lineNo, char const *fmt, va_list args);