aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-12-05 12:33:59 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-12-05 12:33:59 +0200
commit180fdc20372d6501b8fcabb66e1d3cbda02b35c9 (patch)
tree07fca93b57017063a39719609e49ac3db2367c66 /doc
parent70e69d52e789eeda4788c061fc404ba98cea09fa (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 'doc')
-rwxr-xr-xdoc/cli.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/cli.sh b/doc/cli.sh
index fc81528..30ed7b2 100755
--- a/doc/cli.sh
+++ b/doc/cli.sh
@@ -66,12 +66,15 @@ function compile ()
../bpkg/$n.cli
}
-o="--output-prefix bpkg- --class-doc bpkg::common_options=short"
+# Need global --suppress-undocumented because of few undocumented options
+# in common.cli.
+#
+o="--suppress-undocumented --output-prefix bpkg- --class-doc bpkg::common_options=short"
# A few special cases.
#
compile "common" $o --output-suffix "-options" --class-doc bpkg::common_options=long
-compile "bpkg" $o --output-prefix "" --suppress-undocumented --class-doc bpkg::commands=short --class-doc bpkg::topics=short
+compile "bpkg" $o --output-prefix "" --class-doc bpkg::commands=short --class-doc bpkg::topics=short
compile "pkg-build" $o --class-doc bpkg::pkg_build_pkg_options=exclude-base