diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2020-04-29 22:20:21 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2020-05-01 18:10:37 +0300 |
commit | 4476d9d02ac7af21a7bc6ef92490491d308237f4 (patch) | |
tree | 78fe722595c6303c244a9dc421ce6c15d2165fb6 /bpkg/types-parsers.hxx | |
parent | ef30db48d9a910fa06a94a07d231f32a8fce0e46 (diff) |
Add --pkg-proxy common option
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 c812e7b..38b7cee 100644 --- a/bpkg/types-parsers.hxx +++ b/bpkg/types-parsers.hxx @@ -19,6 +19,16 @@ namespace bpkg namespace cli { template <> + struct parser<url> + { + static void + parse (url&, bool&, scanner&); + + static void + merge (url& b, const url& a) {b = a;} + }; + + template <> struct parser<path> { static void |