aboutsummaryrefslogtreecommitdiff
path: root/build2/cli/init.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-01-30 11:12:25 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-02-13 12:42:41 +0200
commitb262d2c9c56eed18d043dccefac02b54a6ae2f95 (patch)
tree010e5c6cce042e0fbf25817a62659d251c220acf /build2/cli/init.cxx
parentf93038fbee1631b95922b0742e0fd00fa8dae02e (diff)
Implement pattern-based variable typing, tighten variable type update
Diffstat (limited to 'build2/cli/init.cxx')
-rw-r--r--build2/cli/init.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/build2/cli/init.cxx b/build2/cli/init.cxx
index 2650c1b..1cf248d 100644
--- a/build2/cli/init.cxx
+++ b/build2/cli/init.cxx
@@ -81,13 +81,13 @@ namespace build2
// Otherwise we will only honor optional if the user didn't specify
// any cli configuration explicitly.
//
- optional = optional && !config::specified (rs, "config.cli");
+ optional = optional && !config::specified (rs, "cli");
// If the configuration says we are unconfigured, then we should't
// re-run tests, etc. But we may still need to print the config
// report.
//
- conf = !optional || !config::unconfigured (rs, "config.cli");
+ conf = !optional || !config::unconfigured (rs, "cli");
}
if (first)
@@ -214,7 +214,7 @@ namespace build2
// on each run.
//
if (!conf)
- nv = config::unconfigured (rs, "config.cli", true) || nv;
+ nv = config::unconfigured (rs, "cli", true) || nv;
// If this is a new value (e.g., we are configuring), then print the
// report at verbosity level 2 and up (-v).