aboutsummaryrefslogtreecommitdiff
path: root/load/load.cli
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2016-07-12 17:26:45 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2016-07-14 18:07:18 +0300
commite60108713590ccee83da7e2581a43fd5fda5c8ce (patch)
tree59650cce83b69e527040560482bba7c8513ab17e /load/load.cli
parent8701276b3d98b5c6f927e2865ee6a915296033c1 (diff)
Add repository certificate info to the About page
Diffstat (limited to 'load/load.cli')
-rw-r--r--load/load.cli26
1 files changed, 25 insertions, 1 deletions
diff --git a/load/load.cli b/load/load.cli
index c3aeec4..c86df0f 100644
--- a/load/load.cli
+++ b/load/load.cli
@@ -6,6 +6,8 @@ include <vector>;
include <string>;
include <cstdint>; // uint16_t
+include <brep/types>;
+
"\section=1"
"\name=brep-load"
"\summary=load build2 repositories into database"
@@ -27,7 +29,11 @@ include <cstdint>; // uint16_t
consumption by the \cb{brep} web module.
Note that \cb{brep-load} expects the database schema to have already been
- created using \l{brep-migrate(1)}."
+ created using \l{brep-migrate(1)}.
+
+ Also note that \cb{brep-load} requires \l{bpkg(1)} to fetch repository
+ information. See \cb{--bpkg} for more information on the package manager
+ program."
}
class options
@@ -68,6 +74,24 @@ class options
"Database port number. If not specified, the default port is used."
}
+ brep::path --bpkg = "bpkg"
+ {
+ "<path>",
+ "The package manager program to be used to fetch repository information.
+ This should be the path to the \cb{bpkg} executable. You can also specify
+ additional options that should be passed to the package manager program
+ with \cb{--bpkg-option}. If the package manager program is not explicitly
+ specified, then \cb{brep-load} will use \cb{bpkg} by default."
+ }
+
+ brep::strings --bpkg-option
+ {
+ "<opt>",
+ "Additional option to be passed to the package manager program. See
+ \cb{--bpkg} for more information on the package manager program. Repeat
+ this option to specify multiple package manager options."
+ }
+
std::string --pager // String to allow empty value.
{
"<path>",