From bbb54f26c6101225a4f79f2f7f89cf5d71a62dd1 Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Sat, 5 Jan 2019 21:56:38 +0100 Subject: 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. --- nitrocli/doc/nitrocli.1.pdf | Bin 13820 -> 14041 bytes 1 file changed, 0 insertions(+), 0 deletions(-) (limited to 'nitrocli/doc/nitrocli.1.pdf') diff --git a/nitrocli/doc/nitrocli.1.pdf b/nitrocli/doc/nitrocli.1.pdf index c5e8898..5127435 100644 Binary files a/nitrocli/doc/nitrocli.1.pdf and b/nitrocli/doc/nitrocli.1.pdf differ -- cgit v1.2.1