aboutsummaryrefslogtreecommitdiff
path: root/bdep/sync.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-03-16 16:17:07 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-03-16 16:17:07 +0200
commit12857770f878e385e83cb76e39e2f99a09d1b043 (patch)
treea2d843eac07ae2d1a16de219ae64f803f53a42d0 /bdep/sync.hxx
parentf3c57d0941ead602ff8f2936cd30019567ff42de (diff)
Don't prompt and automatically drop unused prerequisites in sync
Diffstat (limited to 'bdep/sync.hxx')
-rw-r--r--bdep/sync.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/bdep/sync.hxx b/bdep/sync.hxx
index 741e519..b397c10 100644
--- a/bdep/sync.hxx
+++ b/bdep/sync.hxx
@@ -14,13 +14,14 @@
namespace bdep
{
// If fetch is false, don't perform a (shallow) fetch of the project
- // repository.
+ // repository. If yes is false, then don't suppress bpkg prompts.
//
void
cmd_sync (const common_options&,
const dir_path& prj,
const shared_ptr<configuration>&,
- bool fetch = true);
+ bool fetch = true,
+ bool yes = true);
int
cmd_sync (const cmd_sync_options&, cli::scanner& args);