From 2973ae157e3d3955297175bc8780564671706d13 Mon Sep 17 00:00:00 2001 From: torque Date: Thu, 11 May 2023 11:15:56 -0700 Subject: [PATCH] command: fix convenience options --- source/command.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/command.zig b/source/command.zig index 16fee87..e9a2c8c 100644 --- a/source/command.zig +++ b/source/command.zig @@ -113,7 +113,7 @@ pub fn CommandBuilder(comptime UserContext: type) type { else cfg; - self.add_option(string_generics.opt_gen(), config); + self.add_option(string_generics, config); } pub fn string_argument( @@ -125,7 +125,7 @@ pub fn CommandBuilder(comptime UserContext: type) type { else cfg; - self.add_argument(string_generics.arg_gen(), config); + self.add_argument(string_generics, config); } pub fn simple_flag(