diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-11-09 13:02:51 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-11-09 13:02:51 +0200 |
commit | 7ba4647e0c80740151f1d57b95fc7cd06a97bb28 (patch) | |
tree | 610794bb1ecc81be756857b44d840b10b6c50254 | |
parent | 05d51df07bdbb051de00a3e1bc8fab13c3092b11 (diff) |
Pass --ascii-tree CLI option when generating embedded usage and man pages
-rw-r--r-- | bdep/buildfile | 4 | ||||
-rwxr-xr-x | doc/cli.sh | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/bdep/buildfile b/bdep/buildfile index 6fbee61..6b5f74d 100644 --- a/bdep/buildfile +++ b/bdep/buildfile @@ -159,8 +159,8 @@ if $cli.configured --generate-vector-scanner --generate-file-scanner --generate-group-scanner \ --keep-separator --generate-specifier --generate-modifier \ --generate-description --generate-parse --generate-merge \ ---page-usage 'bdep::print_$name$_' --ansi-color --include-base-last \ ---suppress-undocumented --option-length 24 +--page-usage 'bdep::print_$name$_' --ansi-color --ascii-tree \ +--include-base-last --suppress-undocumented --option-length 24 cli.cxx{common-options}: cli.options += --short-usage --long-usage # Both. cli.cxx{bdep-options}: cli.options += --short-usage @@ -63,7 +63,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 '%bpkg(#.+)?%$1%' \ @@ -93,6 +93,8 @@ done # exit 0 +# @@ Note that we now have --ascii-tree CLI option. +# function xhtml_to_ps () # <from> <to> [<html2ps-options>] { local from="$1" |