aboutsummaryrefslogtreecommitdiff
path: root/load/load.cli
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-05-22 23:31:10 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-05-24 16:12:02 +0300
commit94b04d166c1041028571222b9931121b0f7dfded (patch)
tree33d79d968cfd4a7e0977cb9686ae9ff4abfd52c4 /load/load.cli
parent28de800a7a38ed781b8f04f8f380d65b2d79ec14 (diff)
Implement brep-clean
Diffstat (limited to 'load/load.cli')
-rw-r--r--load/load.cli34
1 files changed, 22 insertions, 12 deletions
diff --git a/load/load.cli b/load/load.cli
index 51a34c3..826d997 100644
--- a/load/load.cli
+++ b/load/load.cli
@@ -10,25 +10,25 @@ include <libbrep/types.hxx>;
"\section=1"
"\name=brep-load"
-"\summary=load build2 repositories into database"
+"\summary=load build2 repositories into brep package database"
{
- "<options> <loadtab-file>",
+ "<options> <loadtab>",
"\h|SYNOPSIS|
\cb{brep-load --help}\n
\cb{brep-load --version}\n
- \c{\b{brep-load} [<options>] <loadtab-file>}
+ \c{\b{brep-load} [<options>] <loadtab>}
\h|DESCRIPTION|
\cb{brep-load} reads the list of repositories from the specified
- configuration <loadtab-file>, fetches their manifest files, and loads the
- repository and package information into the database, suitable for
- consumption by the \cb{brep} web module.
+ <loadtab> configuration file, fetches their manifest files, and loads the
+ repository and package information into the \cb{package} database, suitable
+ for consumption by the \cb{brep} web module.
- Note that \cb{brep-load} expects the database \cb{package} schema to have
+ Note that \cb{brep-load} expects the \cb{package} database schema to have
already been created using \l{brep-migrate(1)}.
Also note that \cb{brep-load} requires \l{bpkg(1)} to fetch repository
@@ -119,12 +119,22 @@ class options
"\h|EXIT STATUS|
-\cb{0} Successful termination.
+\dl|
-\cb{1} Fatal error.
+\li|\cb{0}
-\cb{2} \cb{brep-load} or \l{brep-migrate(1)} instance is running. Try
- again.
+Success.|
-\cb{3} The database recoverable error. Try again.
+\li|\cb{1}
+
+Fatal error.|
+
+\li|\cb{2}
+
+An instance of \cb{brep-load} or \l{brep-migrate(1)} is already running. Try
+again.|
+
+\li|\cb{3}
+
+Recoverable database error. Try again.||
"