From 118f1f75434bb69428aebd6094301bcdeae400c8 Mon Sep 17 00:00:00 2001 From: Rangi Date: Fri, 10 Jul 2026 16:59:30 -0400 Subject: [PATCH] Correct option letter in error message --- src/gfx/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gfx/main.cpp b/src/gfx/main.cpp index 4146b9cf..5f411d7f 100644 --- a/src/gfx/main.cpp +++ b/src/gfx/main.cpp @@ -217,7 +217,7 @@ static void parseArg(int ch, char *arg) { case 'd': options.bitDepth = readNumber(argPtr, "Bit depth", 2); if (*argPtr != '\0') { - error("Bit depth ('-b') argument must be a valid number, not \"%s\"", arg); + error("Bit depth ('-d') argument must be a valid number, not \"%s\"", arg); } else if (options.bitDepth != 1 && options.bitDepth != 2) { error("Bit depth must be 1 or 2, not %" PRIu8, options.bitDepth); options.bitDepth = 2;