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/diagnostics.hxx | |
parent | ef30db48d9a910fa06a94a07d231f32a8fce0e46 (diff) |
Add --pkg-proxy common option
Diffstat (limited to 'bpkg/diagnostics.hxx')
-rw-r--r-- | bpkg/diagnostics.hxx | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/bpkg/diagnostics.hxx b/bpkg/diagnostics.hxx index ac19a1b..d11ab0b 100644 --- a/bpkg/diagnostics.hxx +++ b/bpkg/diagnostics.hxx @@ -49,6 +49,28 @@ namespace bpkg print_process (args.data (), args.size ()); } + // As above but with process_env. + // + void + print_process (diag_record&, + const process_env&, const char* const args[], size_t n = 0); + + void + print_process (const process_env&, const char* const args[], size_t n = 0); + + inline void + print_process (diag_record& dr, + const process_env& pe, const cstrings& args) + { + print_process (dr, pe, args.data (), args.size ()); + } + + inline void + print_process (const process_env& pe, const cstrings& args) + { + print_process (pe, args.data (), args.size ()); + } + // Verbosity level. Update documentation for --verbose if changing. // // 0 - disabled |