diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-11-09 13:04:35 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-11-09 13:04:35 +0200 |
commit | d8915d75e9422104e7f6c4a83f39023ab399d34b (patch) | |
tree | d6c1971da9bec9bba93994145a614b029078f28b | |
parent | 6cbbeebdc8433993fb7075006e42fa32a53a36b4 (diff) |
Pass --ascii-tree CLI option when generating embedded usage and man pages
-rw-r--r-- | build2/buildfile | 2 | ||||
-rwxr-xr-x | doc/cli.sh | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/build2/buildfile b/build2/buildfile index 4d62fb5..48f551d 100644 --- a/build2/buildfile +++ b/build2/buildfile @@ -84,7 +84,7 @@ if $cli.configured # Usage options. # cli.options += --suppress-undocumented --long-usage --ansi-color \ ---page-usage 'build2::print_$name$_' --option-length 21 +--ascii-tree --page-usage 'build2::print_$name$_' --option-length 21 cli.cxx{*}: { @@ -55,7 +55,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 \ ../build2/$n.cli @@ -76,6 +76,8 @@ done # Manuals. # +# @@ Note that we now have --ascii-tree CLI option. +# function xhtml_to_ps () # <from> <to> [<html2ps-options>] { local from="$1" |