aboutsummaryrefslogtreecommitdiff
path: root/src/arg_util.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/arg_util.rs')
-rw-r--r--src/arg_util.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/arg_util.rs b/src/arg_util.rs
index b040e0d..dbb9ce1 100644
--- a/src/arg_util.rs
+++ b/src/arg_util.rs
@@ -67,11 +67,10 @@ macro_rules! Command {
fn execute(
self,
ctx: &mut crate::args::ExecCtx<'_>,
- args: ::std::vec::Vec<::std::string::String>,
) -> crate::Result<()> {
match self {
$(
- $name::$var(_) => $exec(ctx, args),
+ $name::$var(args) => $exec(ctx, args),
)*
}
}