aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-build.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-02-08 12:44:06 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-02-08 12:44:06 +0200
commit974a8c152bf7c9a4a5ce3c45808af65657c2ff1f (patch)
treed9bbfae21920dc0c35758d803831b2b01dc28ac2 /bpkg/pkg-build.cli
parent994b63e2b60333a83faba52dc6b044fbdbbad61b (diff)
Add --for|-f <operation> option to pkg-update and pkg-build
This allows executing build2 -for-X operations (e.g., update-for-install or update-for-test) in order to minimize the amount of stuff to be updated.
Diffstat (limited to 'bpkg/pkg-build.cli')
-rw-r--r--bpkg/pkg-build.cli18
1 files changed, 13 insertions, 5 deletions
diff --git a/bpkg/pkg-build.cli b/bpkg/pkg-build.cli
index f322a07..042ece6 100644
--- a/bpkg/pkg-build.cli
+++ b/bpkg/pkg-build.cli
@@ -69,6 +69,14 @@ namespace bpkg
"Assume the answer to all prompts is \cb{yes}."
}
+ string --for|-f
+ {
+ "<operation>",
+ "Instead of the default \cb{update} build system operation, perform the
+ \cb{update-for-}<operation> variant where <operation> is normally
+ \cb{install} or \cb{test}."
+ }
+
bool --drop-prerequisite|-D
{
"Drop without confirmation prerequsite packages that were automatically
@@ -93,15 +101,15 @@ namespace bpkg
their prerequisites being upgraded or downgraded."
}
- bool --print-only|-p
+ bool --configure-only|-c
{
- "Print to \cb{STDOUT} what would be done without actually doing
- anything."
+ "Configure all the packages but don't update."
}
- bool --configure-only|-c
+ bool --print-only|-p
{
- "Configure all the packages but don't update."
+ "Print to \cb{STDOUT} what would be done without actually doing
+ anything."
}
};
}