summaryrefslogtreecommitdiff
path: root/nitrokey/src/device.rs
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2018-12-25 10:41:06 +0100
committerDaniel Mueller <deso@posteo.net>2018-12-27 11:12:59 -0800
commit96adac9c5d3399a4890f54515a92472067771303 (patch)
tree99f36d2a81f46f7bb44ac0374743fd78cdb60092 /nitrokey/src/device.rs
parentf3c13434e91eea3bcceaa95b86bfcd0db1ec56d4 (diff)
downloadnitrocli-96adac9c5d3399a4890f54515a92472067771303.tar.gz
nitrocli-96adac9c5d3399a4890f54515a92472067771303.tar.bz2
Implement the config set subcommand
This change implements the config set subcommand. The subcommand changes the configuration of a Nitrokey device. Its structure is more complex as it allows partial modifications: The user does not have to change all settings, but may choose to change only some. At the same time, the binding settings can be either set to a value or disabled. Therefore, we have the --{num,caps,scrol}lock options to set a value and the --no-{num,caps,scrol}lock options to disable the value. If none of the two is set, the setting is not changed.
Diffstat (limited to 'nitrokey/src/device.rs')
0 files changed, 0 insertions, 0 deletions