cli/gtk: remove --release and --debug flags, use optional for arguments

This commit is contained in:
Jeffrey C. Ollie
2025-07-13 22:58:54 -05:00
parent 58867b0717
commit 361d03b578
4 changed files with 57 additions and 112 deletions

View File

@@ -153,7 +153,7 @@ pub fn parse(
// The error set is dependent on comptime T, so we always add
// an extra error so we can have the "else" below.
const ErrSet = @TypeOf(err) || error{ Unknown, OutOfMemory };
const ErrSet = @TypeOf(err) || error{ Unknown, OutOfMemory } || Error;
const message: [:0]const u8 = switch (@as(ErrSet, @errorCast(err))) {
// OOM is not recoverable since we need to allocate to
// track more error messages.