diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2022-03-04 17:19:18 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2022-03-04 17:20:36 +0300 |
commit | 8ff6314283396a60ae9806a03f1c017bdc3ec4cc (patch) | |
tree | ddc3aea79452773b8134fab1266a9ce899c32d96 /bpkg/types-parsers.hxx | |
parent | 8dcd798f784ee4eecbca7e13370149440b206a3e (diff) |
Add support for --stdout-format to pkg-status command
Diffstat (limited to 'bpkg/types-parsers.hxx')
-rw-r--r-- | bpkg/types-parsers.hxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/bpkg/types-parsers.hxx b/bpkg/types-parsers.hxx index 007d754..dba459a 100644 --- a/bpkg/types-parsers.hxx +++ b/bpkg/types-parsers.hxx @@ -84,6 +84,16 @@ namespace bpkg }; template <> + struct parser<stdout_format> + { + static void + parse (stdout_format&, bool&, scanner&); + + static void + merge (stdout_format& b, const stdout_format& a) {b = a;} + }; + + template <> struct parser<repository_type> { static void |