diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-08-29 14:35:51 +0200 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-08-29 17:49:09 +0300 |
commit | 9caa44624c688ebba6bc041c273102150b1a59e7 (patch) | |
tree | c6f592f28258321ffa6c5debe2080f89891790a4 /bpkg/rep-info.cli | |
parent | 5e9beb9b7020ed688a1df23344df809af3618b8b (diff) |
Add --{repositories|packages}-file options to bpkg-rep-info
This allows saving both manifests with a single invocation (which is the
only way to guarantee they are consistent).
Diffstat (limited to 'bpkg/rep-info.cli')
-rw-r--r-- | bpkg/rep-info.cli | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/bpkg/rep-info.cli b/bpkg/rep-info.cli index 6ce1953..16f83d6 100644 --- a/bpkg/rep-info.cli +++ b/bpkg/rep-info.cli @@ -88,9 +88,24 @@ namespace bpkg bool --manifest { "Instead of printing the information in the human-readable form, dump it - as manifest(s). Normally you would use this option in combination with - \cb{--packages|-p} or \cb{--repositories|-r} to only dump one of the - manifests." + (to \cb{stdout}) as manifest(s). Normally you would use this option in + combination with \cb{--packages|-p} or \cb{--repositories|-r} to only + dump one of the manifests. See also \cb{--repositories-file} and + \cb{--packages-file}." + } + + path --repositories-file + { + "<path>", + "If \cb{--manifest} is specified, then save the repositories manifest + to the specified file instead of dumping it to \cb{stdout}." + } + + path --packages-file + { + "<path>", + "If \cb{--manifest} is specified, then save the packages manifest to the + specified file instead of dumping it to \cb{stdout}." } repository_type --type |