From 9caa44624c688ebba6bc041c273102150b1a59e7 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 29 Aug 2018 14:35:51 +0200 Subject: 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). --- bpkg/rep-info.cli | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) (limited to 'bpkg/rep-info.cli') 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 + { + "", + "If \cb{--manifest} is specified, then save the repositories manifest + to the specified file instead of dumping it to \cb{stdout}." + } + + path --packages-file + { + "", + "If \cb{--manifest} is specified, then save the packages manifest to the + specified file instead of dumping it to \cb{stdout}." } repository_type --type -- cgit v1.1