diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-12-05 12:33:59 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-12-05 12:33:59 +0200 |
commit | 180fdc20372d6501b8fcabb66e1d3cbda02b35c9 (patch) | |
tree | 07fca93b57017063a39719609e49ac3db2367c66 /bpkg/buildfile | |
parent | 70e69d52e789eeda4788c061fc404ba98cea09fa (diff) |
Use curl instead of wget as default fetch program
We used to prefer wget 1.16 because it has --show-progress which results in
nicer progress. But experience shows that wget is quite unreliable plus with
bdep always using curl, it would be strange to use both curl and wget (and
expecting the user to setup proxy, authentication, etc., for both).
Also add internal --curl* options to be used by bdep.
Diffstat (limited to 'bpkg/buildfile')
-rw-r--r-- | bpkg/buildfile | 8 |
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. |