aboutsummaryrefslogtreecommitdiff
path: root/bpkg/buildfile
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/buildfile')
-rw-r--r--bpkg/buildfile20
1 files changed, 10 insertions, 10 deletions
diff --git a/bpkg/buildfile b/bpkg/buildfile
index 2e49f17..580f303 100644
--- a/bpkg/buildfile
+++ b/bpkg/buildfile
@@ -10,20 +10,22 @@ import libs += libodb-sqlite%lib{odb-sqlite}
exe{bpkg}: \
{hxx }{ bpkg-version } \
{ cxx}{ bpkg } {hxx ixx cxx}{ bpkg-options } \
-{hxx cxx}{ build } {hxx ixx cxx}{ build-options } \
+{hxx cxx}{ cfg-add } {hxx ixx cxx}{ cfg-add-options } \
{hxx cxx}{ cfg-create } {hxx ixx cxx}{ cfg-create-options } \
+{hxx cxx}{ cfg-fetch } {hxx ixx cxx}{ cfg-fetch-options } \
{hxx ixx cxx}{ common-options } \
{hxx ixx cxx}{ configuration-options } \
{hxx cxx}{ database } \
{hxx cxx}{ diagnostics } \
-{hxx cxx}{ drop } {hxx ixx cxx}{ drop-options } \
{hxx cxx}{ fetch } \
{hxx }{ forward } \
{hxx cxx}{ help } {hxx ixx cxx}{ help-options } \
{hxx cxx}{ manifest-utility } \
{hxx ixx cxx}{ package } \
{hxx ixx cxx}{ package-odb } file{ package.xml } \
+{hxx cxx}{ pkg-build } {hxx ixx cxx}{ pkg-build-options } \
{hxx }{ pkg-clean } {hxx ixx cxx}{ pkg-clean-options } \
+{hxx cxx}{ pkg-drop } {hxx ixx cxx}{ pkg-drop-options } \
{hxx cxx}{ pkg-command } \
{hxx cxx}{ pkg-configure } {hxx ixx cxx}{ pkg-configure-options } \
{hxx cxx}{ pkg-disfigure } {hxx ixx cxx}{ pkg-disfigure-options } \
@@ -33,9 +35,7 @@ exe{bpkg}: \
{hxx cxx}{ pkg-unpack } {hxx ixx cxx}{ pkg-unpack-options } \
{hxx }{ pkg-update } {hxx ixx cxx}{ pkg-update-options } \
{hxx cxx}{ pkg-verify } {hxx ixx cxx}{ pkg-verify-options } \
-{hxx cxx}{ rep-add } {hxx ixx cxx}{ rep-add-options } \
{hxx cxx}{ rep-create } {hxx ixx cxx}{ rep-create-options } \
-{hxx cxx}{ rep-fetch } {hxx ixx cxx}{ rep-fetch-options } \
{hxx cxx}{ rep-info } {hxx ixx cxx}{ rep-info-options } \
{hxx cxx}{ satisfaction } \
{hxx }{ types } \
@@ -62,14 +62,14 @@ if! $cli.loaded
{hxx ixx cxx}{configuration-options}: cli{configuration-options}
{hxx ixx cxx}{bpkg-options}: cli{bpkg-options}
-# High-level commands.
+# Help command.
#
{hxx ixx cxx}{help-options}: cli{help-options}
-{hxx ixx cxx}{build-options}: cli{build-options}
-{hxx ixx cxx}{drop-options}: cli{drop-options}
# pkg-* command.
#
+{hxx ixx cxx}{pkg-build-options}: cli{pkg-build-options}
+{hxx ixx cxx}{pkg-drop-options}: cli{pkg-drop-options}
{hxx ixx cxx}{pkg-status-options}: cli{pkg-status-options}
{hxx ixx cxx}{pkg-fetch-options}: cli{pkg-fetch-options}
{hxx ixx cxx}{pkg-unpack-options}: cli{pkg-unpack-options}
@@ -86,8 +86,8 @@ if! $cli.loaded
# rep-* command.
#
-{hxx ixx cxx}{rep-add-options}: cli{rep-add-options}
-{hxx ixx cxx}{rep-fetch-options}: cli{rep-fetch-options}
+{hxx ixx cxx}{cfg-add-options}: cli{cfg-add-options}
+{hxx ixx cxx}{cfg-fetch-options}: cli{cfg-fetch-options}
{hxx ixx cxx}{rep-info-options}: cli{rep-info-options}
{hxx ixx cxx}{rep-create-options}: cli{rep-create-options}
@@ -97,7 +97,7 @@ cli.options += -I $src_root --include-with-brackets --include-prefix bpkg \
--guard-prefix BPKG --cxx-prologue "#include <bpkg/types-parsers>" \
--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 20
+--include-base-last --long-usage --option-length 22
cli.cxx{common-options}: cli.options += --short-usage # Both short and long.
cli.cxx{bpkg-options}: cli.options += --suppress-undocumented # --help, etc.