aboutsummaryrefslogtreecommitdiff
path: root/nitrocli/src
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2018-12-30 01:12:27 +0100
committerDaniel Mueller <deso@posteo.net>2019-01-07 18:34:58 -0800
commit5db376b22250d10e652d3e697f2b0a22e8446c76 (patch)
treedcacd45bbd5f81e8e088bf330d72b528c5aa79a4 /nitrocli/src
parent09958e19b33526acb175f02c62b3680cb8402c0c (diff)
downloadnitrocli-5db376b22250d10e652d3e697f2b0a22e8446c76.tar.gz
nitrocli-5db376b22250d10e652d3e697f2b0a22e8446c76.tar.bz2
Document the lock command
This patch adds documentation and examples for the lock command to the README and to the man page. It also adds the lock command to the top-level help message.
Diffstat (limited to 'nitrocli/src')
-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 f1db33f..ffcc0d1 100644
--- a/nitrocli/src/args.rs
+++ b/nitrocli/src/args.rs
@@ -952,7 +952,7 @@ fn parse_arguments(args: Vec<String>) -> Result<(Command, Vec<String>)> {
let _ = parser.refer(&mut command).required().add_argument(
"command",
argparse::Store,
- "The command to execute (config|otp|pin|pws|status|storage)",
+ "The command to execute (config|lock|otp|pin|pws|status|storage)",
);
let _ = parser.refer(&mut subargs).add_argument(
"arguments",