aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bdep/new.cxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/bdep/new.cxx b/bdep/new.cxx
index 9f445a0..7c0f6f5 100644
--- a/bdep/new.cxx
+++ b/bdep/new.cxx
@@ -4105,7 +4105,13 @@ cmd_new (cmd_new_options&& o, cli::group_scanner& args)
ca,
move (cc))};
- cmd_init (o, prj, db, cfgs, pkgs, strings () /* pkg_args */);
+ cmd_init (o,
+ prj,
+ db,
+ cfgs,
+ pkgs,
+ strings () /* pkg_args */,
+ t != type::empty /* sync */);
}
return 0;