aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-command.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-05-11 14:41:12 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-05-11 16:01:16 +0300
commite035fbaf5e5ae862191dc3d9eb047ac0abba6dbb (patch)
treeafa96dfcbf0b8af174bf7c4ed171cd43a6a7dcb1 /bpkg/pkg-command.hxx
parentca387611165403835655db1f3620ef8e65cb92b5 (diff)
Add support for recursive pkg-test
Diffstat (limited to 'bpkg/pkg-command.hxx')
-rw-r--r--bpkg/pkg-command.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/bpkg/pkg-command.hxx b/bpkg/pkg-command.hxx
index 329360d..ea07b09 100644
--- a/bpkg/pkg-command.hxx
+++ b/bpkg/pkg-command.hxx
@@ -18,10 +18,15 @@ namespace bpkg
// If cmd_variant is not empty, then the <cmd>-for-<variant> is performed
// instead.
//
+ // The command can also be performed recursively for all or immediate
+ // dependencies of the specified packages.
+ //
int
pkg_command (const string& cmd, // Without the 'pkg-' prefix.
const configuration_options&,
const string& cmd_variant,
+ bool recursive,
+ bool immediate,
cli::scanner& args);
struct pkg_command_vars