aboutsummaryrefslogtreecommitdiff
path: root/nitrocli/CHANGELOG.md
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2019-01-05 21:56:38 +0100
committerDaniel Mueller <deso@posteo.net>2019-01-13 18:36:46 -0800
commitbbb54f26c6101225a4f79f2f7f89cf5d71a62dd1 (patch)
tree708e14d408ecef67854f067c5033b78ed15c98a3 /nitrocli/CHANGELOG.md
parent1af4c0771034aa5d5f0a1f558dabc58c87fa3b19 (diff)
downloadnitrocli-bbb54f26c6101225a4f79f2f7f89cf5d71a62dd1.tar.gz
nitrocli-bbb54f26c6101225a4f79f2f7f89cf5d71a62dd1.tar.bz2
Add the --model option to restrict the device model to connect to
This patch adds the -m/--model option that can be used to restrict the device model to connect to. Per default, nitrocli connects to any available Nitrokey device. If this new option is set, it will instead only connect to devices of the given Nitrokey model. We introduce a new struct DeviceModel instead of using nitrokey::DeviceModel to make sure that the command-line options are parsed properly. On the long term, we should add a connect_model function to the nitrokey crate to make the connection code easier.
Diffstat (limited to 'nitrocli/CHANGELOG.md')
-rw-r--r--nitrocli/CHANGELOG.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/nitrocli/CHANGELOG.md b/nitrocli/CHANGELOG.md
index e6a4480..41cfd91 100644
--- a/nitrocli/CHANGELOG.md
+++ b/nitrocli/CHANGELOG.md
@@ -1,6 +1,8 @@
Unreleased
----------
- Added the `-v`/`--verbose` option to control libnitrokey log level
+- Added the `-m`/`--model` option to restrict connections to a device
+ model
0.2.1