aboutsummaryrefslogtreecommitdiff
path: root/bpkg/cfg-add.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-01-11 15:14:32 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-01-11 15:14:32 +0200
commit1c13ae4ed5d84b32c2c1a0698f9e688c312de989 (patch)
tree4977cf7df549e275205e9ced6ae283ac89c685c4 /bpkg/cfg-add.cli
parentad257079568746d71d913c6fca96852da6fe3bd6 (diff)
Documentation improvements
Diffstat (limited to 'bpkg/cfg-add.cli')
-rw-r--r--bpkg/cfg-add.cli26
1 files changed, 14 insertions, 12 deletions
diff --git a/bpkg/cfg-add.cli b/bpkg/cfg-add.cli
index 34909e9..8bc17c3 100644
--- a/bpkg/cfg-add.cli
+++ b/bpkg/cfg-add.cli
@@ -8,23 +8,25 @@ include <bpkg/configuration.cli>;
"\name=bpkg-cfg-add"
"\summary=add repository to configuration"
-/*
-"\h{SYNOPSIS}
+namespace bpkg
+{
+ {
+ "<options> <rep>",
-bpkg cfg-add [<options>] <rep>"
+ "\h|SYNOPSIS|
-"\h{DESCRIPTION}
+ \c{\b{bpkg cfg-add}|\b{add} [<options>] <rep>}
-The \cb{cfg-add} command adds the specified source repository to the
-configuration. Note that this command doesn't fetch the available
-packages list for the newly added repository. To do that, use the
-\cb{cfg-fetch} command.
-"
-*/
+ \h|DESCRIPTION|
+
+ The \cb{cfg-add} command adds the specified package repository to the
+ configuration. Note that it doesn't fetch the list of available packages
+ for the newly added repository. For that, use the \l{bpkg-cfg-fetch(1)}
+ command, normally, after adding all the repositories you wish to use."
+ }
-namespace bpkg
-{
class cfg_add_options: configuration_options
{
+ "\h|CFG-ADD OPTIONS|"
};
}