From 93c605418568bf71bcc3be6956f07f9650b45fea Mon Sep 17 00:00:00 2001 From: Daniel Mueller Date: Sat, 11 Apr 2020 12:29:22 -0700 Subject: Merge config_set function into commands.rs As a next step moving us closer towards removing the args module, this change merges the config_set function into the existing function of the same name in the commands module. --- src/arg_defs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/arg_defs.rs') diff --git a/src/arg_defs.rs b/src/arg_defs.rs index fd296e4..133ef19 100644 --- a/src/arg_defs.rs +++ b/src/arg_defs.rs @@ -93,7 +93,7 @@ Command! {ConfigCommand, [ /// Prints the Nitrokey configuration Get => crate::commands::config_get, /// Changes the Nitrokey configuration - Set(ConfigSetArgs) => crate::args::config_set, + Set(ConfigSetArgs) => crate::commands::config_set, ]} #[derive(Debug, PartialEq, structopt::StructOpt)] -- cgit v1.2.1