aboutsummaryrefslogtreecommitdiff
path: root/bdep/types-parsers.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2022-03-02 22:16:28 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2022-03-04 19:18:25 +0300
commitedfeacac8a8f08f3b022cc561cc992d5a12fcf51 (patch)
treebc1c0d62b94716fa83114f05d9f6812d41c42e0a /bdep/types-parsers.hxx
parent48f4687510f9c7ad2b0c2baff3b14a181201f221 (diff)
Add support for --stdout-format to bdep-status command
Diffstat (limited to 'bdep/types-parsers.hxx')
-rw-r--r--bdep/types-parsers.hxx13
1 files changed, 13 insertions, 0 deletions
diff --git a/bdep/types-parsers.hxx b/bdep/types-parsers.hxx
index 9e76237..3da355c 100644
--- a/bdep/types-parsers.hxx
+++ b/bdep/types-parsers.hxx
@@ -48,6 +48,19 @@ namespace bdep
static void
merge (dir_path& b, const dir_path& a) {b = a;}
};
+
+ template <>
+ struct parser<stdout_format>
+ {
+ static void
+ parse (stdout_format&, bool&, scanner&);
+
+ static void
+ merge (stdout_format& b, const stdout_format& a)
+ {
+ b = a;
+ }
+ };
}
}