aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bpkg/buildfile4
-rwxr-xr-xdoc/cli.sh5
2 files changed, 6 insertions, 3 deletions
diff --git a/bpkg/buildfile b/bpkg/buildfile
index 1173977..6ef5ef4 100644
--- a/bpkg/buildfile
+++ b/bpkg/buildfile
@@ -180,8 +180,8 @@ if $cli.configured
--cxx-prologue "#include <bpkg/types-parsers.hxx>" --cli-namespace bpkg::cli \
--generate-vector-scanner --generate-file-scanner --generate-group-scanner \
--keep-separator --generate-specifier --generate-parse --generate-merge \
---page-usage 'bpkg::print_$name$_' --ansi-color --include-base-last \
---option-length 24
+--page-usage 'bpkg::print_$name$_' --ansi-color --ascii-tree \
+--include-base-last --option-length 24
# Both --*-usage options.
#
diff --git a/doc/cli.sh b/doc/cli.sh
index efe6597..1bcfa96 100755
--- a/doc/cli.sh
+++ b/doc/cli.sh
@@ -58,7 +58,7 @@ function compile ()
-v date="$date" \
-v copyright="$copyright" \
--include-base-last "${o[@]}" \
---generate-man --man-suffix .1 \
+--generate-man --man-suffix .1 --ascii-tree \
--man-prologue-file man-prologue.1 \
--man-epilogue-file man-epilogue.1 \
--link-regex '%b(#.+)?%$1%' \
@@ -90,6 +90,9 @@ done
# Manual.
#
+
+# @@ Note that we now have --ascii-tree CLI option.
+#
function xhtml_to_ps () # <from> <to> [<html2ps-options>]
{
local from="$1"