From b262d2c9c56eed18d043dccefac02b54a6ae2f95 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 30 Jan 2017 11:12:25 +0200 Subject: Implement pattern-based variable typing, tighten variable type update --- build2/cli/init.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'build2/cli/init.cxx') 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). -- cgit v1.1