aboutsummaryrefslogtreecommitdiff
path: root/nitrocli/src/args.rs
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2018-12-23 01:39:59 +0100
committerDaniel Mueller <deso@posteo.net>2018-12-24 17:51:03 -0800
commite0a7aa80c5c2b049538d9d333e9ce919a4a56dce (patch)
tree4ee17995407be4232bc2fd6002f818386d8e5efd /nitrocli/src/args.rs
parent27ed7f31128cf17dee1ab8e7cfa49f45ca123aec (diff)
downloadnitrocli-e0a7aa80c5c2b049538d9d333e9ce919a4a56dce.tar.gz
nitrocli-e0a7aa80c5c2b049538d9d333e9ce919a4a56dce.tar.bz2
Clear both user and admin PIN
Currently, we only clear the user PIN if clear is called. This patch changes the clear command to also clear the admin PIN as we will start to use the admin PIN in upcoming patches.
Diffstat (limited to 'nitrocli/src/args.rs')
-rw-r--r--nitrocli/src/args.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/nitrocli/src/args.rs b/nitrocli/src/args.rs
index 07a3e6a..d4c3809 100644
--- a/nitrocli/src/args.rs
+++ b/nitrocli/src/args.rs
@@ -115,7 +115,7 @@ fn close(args: Vec<String>) -> Result<()> {
/// Clear the PIN stored when opening the nitrokey's encrypted volume.
fn clear(args: Vec<String>) -> Result<()> {
let mut parser = argparse::ArgumentParser::new();
- parser.set_description("Clears the cached passphrase");
+ parser.set_description("Clears the cached passphrases");
parse(&parser, args)?;
commands::clear()