aboutsummaryrefslogtreecommitdiff
path: root/nitrocli/doc
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2019-01-15 23:53:59 +0000
committerDaniel Mueller <deso@posteo.net>2019-01-26 23:35:08 -0800
commit274ae17ca0fc86ebfcbaa3a6cb4201e2cfd0f622 (patch)
tree97ed6f39f1351bc5c614de3c68e0ec112c84ba17 /nitrocli/doc
parenteabca4c9612ae24911cca2ea1917f5c0fb2df9e9 (diff)
downloadnitrocli-274ae17ca0fc86ebfcbaa3a6cb4201e2cfd0f622.tar.gz
nitrocli-274ae17ca0fc86ebfcbaa3a6cb4201e2cfd0f622.tar.bz2
Add the -V/--version option
The -V/--version option prints the nitrocli version to stdout and exits. In the future, it should also print the used libnitrokey version, but as the required function is only available with nitrokey 0.3.2 and as the current interface does not reflect the latest change in version naming, I skipped that in this patch.
Diffstat (limited to 'nitrocli/doc')
-rw-r--r--nitrocli/doc/nitrocli.14
-rw-r--r--nitrocli/doc/nitrocli.1.pdfbin17202 -> 17334 bytes
2 files changed, 4 insertions, 0 deletions
diff --git a/nitrocli/doc/nitrocli.1 b/nitrocli/doc/nitrocli.1
index 21dbc3b..74fd635 100644
--- a/nitrocli/doc/nitrocli.1
+++ b/nitrocli/doc/nitrocli.1
@@ -4,6 +4,7 @@ nitrocli \- access Nitrokey devices
.SH SYNOPSIS
.B nitrocli
[\fB\-m\fR|\fB\-\-model pro\fR|\fBstorage\fR] \fR[\fB\-v\fR|\fB\-\-verbose\fR]
+[\fB\-V\fR|\fB\-\-version\fR]
\fIcommand\fR
[\fIarguments\fR]
.SH DESCRIPTION
@@ -25,6 +26,9 @@ supplied multiple times. A single occurrence will show additional warnings.
Commands sent to the device will be shown when supplied three times and full
device communication is available with four occurrences. Supplying this option
five times enables the highest verbosity.
+.TP
+\fB\-V\fR, \fB\-\-version\fR
+Print the nitrocli version and exit.
.SH COMMANDS
.SS General
.TP
diff --git a/nitrocli/doc/nitrocli.1.pdf b/nitrocli/doc/nitrocli.1.pdf
index d85e599..32cf085 100644
--- a/nitrocli/doc/nitrocli.1.pdf
+++ b/nitrocli/doc/nitrocli.1.pdf
Binary files differ