aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorTeddy Wing2019-06-10 19:50:10 +0200
committerTeddy Wing2019-06-10 19:50:10 +0200
commit62ea9eb82d4aa9edf3cbe27a3cced88bf989bbcf (patch)
tree4e0dfe4c4d8d6c4d040a9c0053f5618896d2d745 /doc
parente776421211a713d182600076ce0ab6b508f9275c (diff)
downloadcode-review-62ea9eb82d4aa9edf3cbe27a3cced88bf989bbcf.tar.bz2
code-review: Add a version number and `--version` program flag
Diffstat (limited to 'doc')
-rw-r--r--doc/code-review.15
-rw-r--r--doc/code-review.1.txt3
2 files changed, 8 insertions, 0 deletions
diff --git a/doc/code-review.1 b/doc/code-review.1
index e671bff..06b013b 100644
--- a/doc/code-review.1
+++ b/doc/code-review.1
@@ -41,6 +41,11 @@ A collection of tools that facilitate code review on the command line\&.
.RS 4
Print usage help\&.
.RE
+.PP
+\-\-version
+.RS 4
+Print the program version\&.
+.RE
.SH "COMMANDS"
.PP
changed\-files
diff --git a/doc/code-review.1.txt b/doc/code-review.1.txt
index 276399f..df2a087 100644
--- a/doc/code-review.1.txt
+++ b/doc/code-review.1.txt
@@ -18,6 +18,9 @@ OPTIONS
-h, --help::
Print usage help.
+--version::
+ Print the program version.
+
COMMANDS
--------
changed-files::