aboutsummaryrefslogtreecommitdiff
path: root/bpkg/rep-info.cli
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2016-04-14 17:59:24 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2016-05-04 20:47:45 +0300
commitb13332c991ce2695626eaca367dd8208b174c9ca (patch)
tree809dc321b47d5ef9c72935637f94bf5b84ed640d /bpkg/rep-info.cli
parentc9831f760a83e36a3a2ac84b1bd3f573e47ef195 (diff)
Add support for repository authentication
Diffstat (limited to 'bpkg/rep-info.cli')
-rw-r--r--bpkg/rep-info.cli17
1 files changed, 16 insertions, 1 deletions
diff --git a/bpkg/rep-info.cli b/bpkg/rep-info.cli
index 7554620..5fa5d3d 100644
--- a/bpkg/rep-info.cli
+++ b/bpkg/rep-info.cli
@@ -24,7 +24,16 @@ namespace bpkg
first line followed by the list of complement and prerequisite
repositories and the list of available packages. This default behavior,
however, can be altered in various ways using options listed below. Note
- that the information is written to \cb{STDOUT}, not \cb{STDERR}."
+ that the information is written to \cb{STDOUT}, not \cb{STDERR}.
+
+ If the current working directory contains a \cb{bpkg} configuration, then
+ \cb{rep-info} will use its certificate database for the repository
+ authentication. That is, it will trust the repository's certificate if it
+ is already trusted by the configuration. Otherwise it will add the
+ certificate to the configuration if you confirm it is trusted. You can
+ specify an alternative configuration directory with the
+ \cb{--directory|-d} option. To disable using the configuration in the
+ current working directory pass this option with an empty path."
}
class rep_info_options: common_options
@@ -53,5 +62,11 @@ namespace bpkg
\cb{--packages|-p} or \cb{--repositories|-r} to only dump one of the
manifests."
}
+
+ string --directory|-d // String to allow empty value.
+ {
+ "<dir>",
+ "Use configuration in <dir> for the trusted certificate database."
+ }
};
}