aboutsummaryrefslogtreecommitdiff
path: root/doc/cli.sh
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-10-20 11:10:53 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-10-20 11:10:53 +0200
commitb813953b595af2c7172651a07e0044c1eebcd84c (patch)
tree54b95b7f786b1ace3f030dbad21c90415c05953f /doc/cli.sh
parent8fc0ccdc4d3c1d359e43f7d8c9e1e1ae529970e8 (diff)
Fix version handling in doc/cli.sh
Diffstat (limited to 'doc/cli.sh')
-rwxr-xr-xdoc/cli.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/cli.sh b/doc/cli.sh
index bbac04d..f5cb8ea 100755
--- a/doc/cli.sh
+++ b/doc/cli.sh
@@ -65,7 +65,9 @@ done
# Manual.
#
-cli -I .. -v version="$version" -v date="$date" \
+cli -I .. \
+-v version="$(echo "$version" | sed -e 's/^\([^.]*\.[^.]*\).*/\1/')" \
+-v date="$date" \
--generate-html --html-suffix .xhtml \
--html-prologue-file doc-prologue.xhtml \
--html-epilogue-file doc-epilogue.xhtml \