aboutsummaryrefslogtreecommitdiff
path: root/nitrocli/CHANGELOG.md
diff options
context:
space:
mode:
authorDaniel Mueller <deso@posteo.net>2019-01-04 18:27:45 -0800
committerDaniel Mueller <deso@posteo.net>2019-01-04 18:27:45 -0800
commit1af4c0771034aa5d5f0a1f558dabc58c87fa3b19 (patch)
treec5013b6302fa17de4eaa820d365da9356e66b23c /nitrocli/CHANGELOG.md
parente569fec44940add141cc526ce77f67dfe976c8e0 (diff)
downloadnitrocli-1af4c0771034aa5d5f0a1f558dabc58c87fa3b19.tar.gz
nitrocli-1af4c0771034aa5d5f0a1f558dabc58c87fa3b19.tar.bz2
Introduce -v/--verbose option
This change introduces a new option, -v/--verbose, that can be used to increase the log level of libnitrokey. The option can be supplied multiple times, with each occurrence increasing the verbosity of the logging. On the implementation side, the option is set as part of connecting the device (piggy-backing on the previously introduced command execution context), although it describes global state that strictly speaking could be set anywhere. It is bad enough that libnitrokey just prints log messages to stderr (and does not accept a file handle) and that it does not track the log level on a per-device basis, but we don't want setting of global state from arbitrary locations inside the program. Instead, let's do that along with what pretty much is the first call into libnitrokey anyway: the connection to the device.
Diffstat (limited to 'nitrocli/CHANGELOG.md')
-rw-r--r--nitrocli/CHANGELOG.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/nitrocli/CHANGELOG.md b/nitrocli/CHANGELOG.md
index 26e9e99..e6a4480 100644
--- a/nitrocli/CHANGELOG.md
+++ b/nitrocli/CHANGELOG.md
@@ -1,3 +1,8 @@
+Unreleased
+----------
+- Added the `-v`/`--verbose` option to control libnitrokey log level
+
+
0.2.1
-----
- Added the `pws` command for accessing the password safe