diff options
author | Daniel Mueller <deso@posteo.net> | 2020-04-11 12:29:22 -0700 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2020-04-11 12:29:22 -0700 |
commit | 93c605418568bf71bcc3be6956f07f9650b45fea (patch) | |
tree | 20a5e1fd41a57ed31871974934422626fd4a4c6f /src/arg_defs.rs | |
parent | eae8b2a1f0d1faf70776fccc12c93267a2143021 (diff) | |
download | nitrocli-93c605418568bf71bcc3be6956f07f9650b45fea.tar.gz nitrocli-93c605418568bf71bcc3be6956f07f9650b45fea.tar.bz2 |
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.
Diffstat (limited to 'src/arg_defs.rs')
-rw-r--r-- | src/arg_defs.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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)] |