aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-03-28 14:21:58 +0200
committerKaren Arutyunov <karen@codesynthesis.com>2018-04-19 19:39:55 +0300
commit7251109c82b16c30410803ef375fe1012445873d (patch)
treed980dfd3cc918ad9083eca554c1963cac380b5ac
parent33344dd53ec093e0d7129cb0f8a26dc28dec4d86 (diff)
Add --{upgrade,patch}-{immediate,recursive} pkg-build options
-rw-r--r--bpkg/pkg-build.cli23
1 files changed, 23 insertions, 0 deletions
diff --git a/bpkg/pkg-build.cli b/bpkg/pkg-build.cli
index 8312450..8629f8c 100644
--- a/bpkg/pkg-build.cli
+++ b/bpkg/pkg-build.cli
@@ -171,6 +171,29 @@ namespace bpkg
"Also upgrade or patch all dependencies, recursively."
}
+ // Sometimes we may want to upgrade/patch the package itself but to
+ // patch/upgrade its dependencies.
+ //
+ bool --upgrade-immediate
+ {
+ "Upgrade immediate dependencies."
+ }
+
+ bool --patch-immediate
+ {
+ "Patch immediate dependencies."
+ }
+
+ bool --upgrade-recursive
+ {
+ "Upgrade all dependencies, recursively."
+ }
+
+ bool --patch-recursive
+ {
+ "Patch all dependencies, recursively."
+ }
+
bool --dependency
{
"Build, upgrade, or downgrade a package as a dependency rather than to