aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bdep/config.cxx4
-rw-r--r--bdep/status.cxx4
-rw-r--r--tests/config.testscript6
3 files changed, 7 insertions, 7 deletions
diff --git a/bdep/config.cxx b/bdep/config.cxx
index c8a8529..38888e1 100644
--- a/bdep/config.cxx
+++ b/bdep/config.cxx
@@ -820,11 +820,11 @@ namespace bdep
ss.member ("forward", c->forward);
if (c->auto_sync)
- ss.member ("auto-sync", c->auto_sync);
+ ss.member ("auto_sync", c->auto_sync);
if (!c->packages.empty ())
{
- ss.member_name ("packages");
+ ss.member_name ("packages", false /* check */);
ss.begin_array ();
diff --git a/bdep/status.cxx b/bdep/status.cxx
index d932e58..82eac25 100644
--- a/bdep/status.cxx
+++ b/bdep/status.cxx
@@ -182,7 +182,7 @@ namespace bdep
pkgs = config_packages (*c, prj_pkgs.packages);
ss.begin_object ();
- ss.member_name ("configuration");
+ ss.member_name ("configuration", false /* check */);
ss.begin_object ();
ss.member ("id", *c->id);
ss.member ("path", c->path.string ());
@@ -249,7 +249,7 @@ namespace bdep
if (!ps.empty () && ps.back () == '\n')
ps.pop_back ();
- ss.member_name ("packages");
+ ss.member_name ("packages", false /* check */);
ss.value_json_text (ps);
}
else
diff --git a/tests/config.testscript b/tests/config.testscript
index d537c0b..2a1f499 100644
--- a/tests/config.testscript
+++ b/tests/config.testscript
@@ -50,7 +50,7 @@ deinit += -d prj
"type": "target",
"default": true,
"forward": true,
- "auto-sync": true,
+ "auto_sync": true,
"packages": [
{
"name": "prj"
@@ -290,7 +290,7 @@ deinit += -d prj
"type": "target",
"default": true,
"forward": true,
- "auto-sync": true
+ "auto_sync": true
},
{
"id": 4,
@@ -299,7 +299,7 @@ deinit += -d prj
"type": "host",
"default": true,
"forward": true,
- "auto-sync": true
+ "auto_sync": true
}
]
EOO