diff --git a/build.zig b/build.zig index 21c41b4..3777296 100644 --- a/build.zig +++ b/build.zig @@ -52,7 +52,7 @@ pub fn build(b: *std.Build) void { //========================================== // Examples //========================================== - const examples = &.{ "cova-demo", "basic-app", "logger" }; + const examples = &.{ "cova-demo", "basic_app", "logger" }; var ex_arena = std.heap.ArenaAllocator.init(b.allocator); defer ex_arena.deinit(); const ex_alloc = ex_arena.allocator(); diff --git a/src/Option.zig b/src/Option.zig index a2854cb..95ef45f 100644 --- a/src/Option.zig +++ b/src/Option.zig @@ -95,7 +95,7 @@ pub const Config = struct { /// 6. String (Alias Long Names) /// 7. String (Value Type) /// - /// Note, a comma "," will automatically be placed between the short and long name if they both exist. + /// Note, the Name Separator (`name_sep_fmt`) will automatically be placed between the short and long name if they both exist. usage_fmt: []const u8 = "{u}{?u}{s}{s}{?s}{s} <{s}>", /// Format for each Alias Long Name in the Usage message. /// diff --git a/src/cova.zig b/src/cova.zig index 6b3463b..9b280ba 100644 --- a/src/cova.zig +++ b/src/cova.zig @@ -633,7 +633,6 @@ fn parseOpt(args: *ArgIteratorGeneric, comptime OptionType: type, opt: *const Op if (opt.allow_empty) { opt.val.setEmpty() catch log.err("The Option '{s}' has already been set.", .{ opt.name }); - _ = args.next(); return; } else if (!opt.val.hasCustomParseFn())