From 21e7c36a0ae14f2200e806fcf66cbe0836cc2ec0 Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Tue, 25 Dec 2018 23:02:18 +0100 Subject: Add status output for Nitrokey Pro Currently, the status command fails for a Nitrokey Pro. This patch changes the command to also print basic status information for Pro devices. For the sake of consistency, the common status is always queried using the common `Device` functions, even if the Storage status includes the same information. --- nitrocli/src/args.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nitrocli/src/args.rs') diff --git a/nitrocli/src/args.rs b/nitrocli/src/args.rs index ab80f3d..b48acfa 100644 --- a/nitrocli/src/args.rs +++ b/nitrocli/src/args.rs @@ -211,7 +211,7 @@ fn parse(parser: &argparse::ArgumentParser<'_>, args: Vec) -> Result<()> /// Inquire the status of the nitrokey. fn status(args: Vec) -> Result<()> { let mut parser = argparse::ArgumentParser::new(); - parser.set_description("Print the status of the connected Nitrokey Storage"); + parser.set_description("Print the status of the connected Nitrokey device"); parse(&parser, args)?; commands::status() -- cgit v1.2.1