From cb63b1ad7137ad7459c499b920a13e243a058809 Mon Sep 17 00:00:00 2001 From: 00JCIV00 Date: Mon, 1 Jul 2024 15:07:38 -0400 Subject: [PATCH] Exposed indent_fmt for Values - Ensured that `indent_fmt` is properly exposed in `Value.Custom` for library users. --- src/Value.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Value.zig b/src/Value.zig index ed32567..2b963d2 100644 --- a/src/Value.zig +++ b/src/Value.zig @@ -604,7 +604,7 @@ pub fn Custom(comptime config: Config) type { pub const vals_usage_fmt = config.usage_fmt; /// Values Indent Format. /// Check (`Value.Config`) for details. - pub const indent_fmt = config.indent_fmt; + pub const indent_fmt = config.indent_fmt orelse CommandT.indent_fmt; /// Get the Parsed and Validated Value of the inner Typed Value. /// Comptime Only