aboutsummaryrefslogtreecommitdiff
path: root/bpkg/buildfile
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/buildfile')
-rw-r--r--bpkg/buildfile8
1 files changed, 6 insertions, 2 deletions
diff --git a/bpkg/buildfile b/bpkg/buildfile
index cc9e7b5..b3b2ba7 100644
--- a/bpkg/buildfile
+++ b/bpkg/buildfile
@@ -187,20 +187,24 @@ if $cli.configured
# Option length must be the same to get commands/topics/options aligned.
#
+ # Need global --suppress-undocumented because of few undocumented options
+ # in common.cli.
+ #
+ #
cli.options += --std c++11 -I $src_root --include-with-brackets \
--include-prefix bpkg --guard-prefix BPKG \
--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 --ascii-tree \
---include-base-last --option-length 24
+--include-base-last --suppress-undocumented --option-length 24
# Both --*-usage options.
#
cli.cxx{common-options}: cli.options += --short-usage --long-usage \
--generate-modifier
- cli.cxx{bpkg-options}: cli.options += --short-usage --suppress-undocumented
+ cli.cxx{bpkg-options}: cli.options += --short-usage
cli.options += --long-usage # All other pages -- long usage.