aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nitrocli/src/commands.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/nitrocli/src/commands.rs b/nitrocli/src/commands.rs
index 3546e2e..1fbeb79 100644
--- a/nitrocli/src/commands.rs
+++ b/nitrocli/src/commands.rs
@@ -171,8 +171,8 @@ where
.map_err(|(_data, err)| err)
}
-/// Pretty print the response of a status command.
-fn print_status(status: &nitrokey::StorageStatus) {
+/// Pretty print the response of a status command for the Nitrokey Storage.
+fn print_storage_status(status: &nitrokey::StorageStatus) {
// We omit displaying information about the smartcard here as this
// program really is only about the SD card portion of the device.
println!(
@@ -214,7 +214,7 @@ pub fn status() -> Result<()> {
.get_status()
.map_err(|err| get_error("Getting Storage status failed", &err))?;
- print_status(&status);
+ print_storage_status(&status);
Ok(())
}