From 4a4e3643f5bfcab8b6340b01a95ca083872b8285 Mon Sep 17 00:00:00 2001 From: Halil Durak Date: Fri, 17 Apr 2026 17:42:32 +0300 Subject: [PATCH] `cli`: prefer `full` over `all` to enable everything --- src/cli.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cli.zig b/src/cli.zig index 66912387..ee122974 100644 --- a/src/cli.zig +++ b/src/cli.zig @@ -440,8 +440,8 @@ pub fn Builder(comptime commands: anytype) type { const str = args.next() orelse return error.MissingArgument; - if (std.mem.eql(u8, str, "all")) { - // "all" sets all the fields of packed struct. + if (std.mem.eql(u8, str, "full")) { + // "full" sets all the fields of packed struct. const Int = _struct.backing_integer.?; @field(c, option.name) = @bitCast(@as(Int, std.math.maxInt(Int))); } else {