aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-10-30 16:56:24 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-10-31 17:49:58 +0300
commit7d03940f6816329fa9ae131591717749bc76be5a (patch)
tree4bd95c2c08261cb67a4b21a9040645de902e2925 /doc
parentdad48d98b1a57706179c34853950588ec75a8467 (diff)
Document default options files for commands
Diffstat (limited to 'doc')
-rw-r--r--doc/buildfile3
-rwxr-xr-xdoc/cli.sh5
2 files changed, 5 insertions, 3 deletions
diff --git a/doc/buildfile b/doc/buildfile
index d1e80b2..6d3097d 100644
--- a/doc/buildfile
+++ b/doc/buildfile
@@ -34,7 +34,8 @@ define xhtml: doc
xhtml{*}: extension = xhtml
./: {man1 xhtml}{bpkg bpkg-common-options bpkg-repository-signing \
- bpkg-repository-types bpkg-argument-grouping $cmds} \
+ bpkg-repository-types bpkg-argument-grouping \
+ bpkg-default-options-files $cmds} \
css{common pre-box man} \
file{man-*}
diff --git a/doc/cli.sh b/doc/cli.sh
index 7ad18f4..47601ad 100755
--- a/doc/cli.sh
+++ b/doc/cli.sh
@@ -61,13 +61,14 @@ compile "bpkg" $o --output-prefix "" --suppress-undocumented --class-doc bpkg::c
compile "pkg-build" $o --class-doc bpkg::pkg_build_pkg_options=exclude-base
-# NOTE: remember to update a similar list in buildfile.
+# NOTE: remember to update a similar list in buildfile and bpkg.cli as well as
+# the help topics sections in bpkg/buildfile and help.cxx.
#
pages="cfg-create help pkg-clean pkg-configure pkg-disfigure \
pkg-drop pkg-fetch pkg-checkout pkg-install pkg-purge pkg-status pkg-test \
pkg-uninstall pkg-unpack pkg-update pkg-verify rep-add rep-remove rep-list \
rep-create rep-fetch rep-info repository-signing repository-types \
-argument-grouping"
+argument-grouping default-options-files"
for p in $pages; do
compile $p $o