command: fix convenience options

This commit is contained in:
torque 2023-05-11 11:15:56 -07:00
parent e370023401
commit 2973ae157e
Signed by: torque
SSH Key Fingerprint: SHA256:nCrXefBNo6EbjNSQhv0nXmEg/VuNq3sMF5b8zETw3Tk

View File

@ -113,7 +113,7 @@ pub fn CommandBuilder(comptime UserContext: type) type {
else else
cfg; cfg;
self.add_option(string_generics.opt_gen(), config); self.add_option(string_generics, config);
} }
pub fn string_argument( pub fn string_argument(
@ -125,7 +125,7 @@ pub fn CommandBuilder(comptime UserContext: type) type {
else else
cfg; cfg;
self.add_argument(string_generics.arg_gen(), config); self.add_argument(string_generics, config);
} }
pub fn simple_flag( pub fn simple_flag(