command: fix convenience options

This commit is contained in:
2023-05-11 11:15:56 -07:00
parent e370023401
commit 2973ae157e

View File

@@ -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(