From 043a8fdc4c10b68945804ae57c13a40932046843 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 11 Jan 2016 15:40:41 +0200 Subject: Massage cli options to do right thing --- bpkg/buildfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'bpkg/buildfile') diff --git a/bpkg/buildfile b/bpkg/buildfile index 9f4d904..52d4520 100644 --- a/bpkg/buildfile +++ b/bpkg/buildfile @@ -102,10 +102,12 @@ cli.options += -I $src_root --include-with-brackets --include-prefix bpkg \ --guard-prefix BPKG --cxx-prologue "#include " \ --cli-namespace bpkg::cli --generate-file-scanner --generate-specifier \ --generate-parse --ansi-color --page-usage 'bpkg::print_$name$_' \ ---include-base-last --long-usage --option-length 23 +--include-base-last --option-length 23 -cli.cxx{common-options}: cli.options += --short-usage # Both short and long. -cli.cxx{bpkg-options}: cli.options += --suppress-undocumented # --help, etc. +cli.cxx{common-options}: cli.options += --short-usage --long-usage # Both. +cli.cxx{bpkg-options}: cli.options += --short-usage --suppress-undocumented + +cli.options += --long-usage # All other pages -- long usage. # Include generated cli files into the distribution. # -- cgit v1.1