aboutsummaryrefslogtreecommitdiff
path: root/doc/nitrocli.1
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2020-09-09 21:37:19 +0200
committerRobin Krahl <robin.krahl@ireas.org>2020-09-11 11:03:32 +0200
commitef7b6b03355b82621d16f4f02a5a1a4558ae64cc (patch)
tree97b505e2e74a4b9e8aacb6c530fd23d7244a37c2 /doc/nitrocli.1
parent70b9a1f0287f2aeda9677110106f43d1048306f3 (diff)
downloadnitrocli-ef7b6b03355b82621d16f4f02a5a1a4558ae64cc.tar.gz
nitrocli-ef7b6b03355b82621d16f4f02a5a1a4558ae64cc.tar.bz2
List all matching devices in status commmand
Previously, the status command would fail if more than one Nitrokey device is connected. With this patch, we list all attached devices that match the specified filter (model, serial number, USB path). This also casues some changes in the test cases: Previously, we assumed that status fails for multiple attached devices. We now use the lock command to produce this behavior.
Diffstat (limited to 'doc/nitrocli.1')
-rw-r--r--doc/nitrocli.110
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/nitrocli.1 b/doc/nitrocli.1
index 6fb1fd9..87b52b4 100644
--- a/doc/nitrocli.1
+++ b/doc/nitrocli.1
@@ -67,10 +67,12 @@ To omit the serial number of Nitrokey Storage devices instead of connecting to
them, set the \fB\-\-no-connect\fR option.
.TP
.B nitrocli status
-Print the status of the connected Nitrokey device, including the stick serial
-number, the firmware version, and the PIN retry count. If the device is a
-Nitrokey Storage, also print storage related information including the SD card
-serial number, the encryption status, and the status of the volumes.
+Print the status of the attached Nitrokey devices that match the filter
+options (see the Device selection section), including the stick serial number,
+the firmware version, and the PIN retry count.
+For Nitrokey Storage devices, also print storage related information including
+the SD card serial number, the encryption status, and the status of the
+volumes.
.TP
.B nitrocli lock
Lock the Nitrokey.