aboutsummaryrefslogtreecommitdiff
path: root/bdep/new.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bdep/new.cxx')
-rw-r--r--bdep/new.cxx13
1 files changed, 2 insertions, 11 deletions
diff --git a/bdep/new.cxx b/bdep/new.cxx
index a6074b8..85acad4 100644
--- a/bdep/new.cxx
+++ b/bdep/new.cxx
@@ -617,25 +617,16 @@ namespace bdep
if (ca || cc)
{
- optional<bool> cd;
- if (o.default_ () || o.no_default ())
- cd = o.default_ () && !o.no_default ();
-
- optional<bool> cf;
- if (o.forward () || o.no_forward ())
- cf = o.forward () && !o.no_forward ();
-
configurations cfgs {
cmd_init_config (
o,
+ o,
prj,
db,
ca ? o.config_add () : o.config_create (),
args,
ca,
- cc,
- cd,
- cf)};
+ cc)};
package_locations pkgs {{n, dir_path ()}}; // project == package