aboutsummaryrefslogtreecommitdiff
path: root/doc/cli.sh
diff options
context:
space:
mode:
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 73a2ddf..0c7c278 100755
--- a/doc/cli.sh
+++ b/doc/cli.sh
@@ -61,7 +61,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 \