aboutsummaryrefslogtreecommitdiff
path: root/bpkg/bpkg.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-06-18 21:28:19 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-06-18 21:28:19 +0200
commita7328a438ed26dc0d74238a575c118ca82892b5e (patch)
tree472533629a63c9884808acbd01b75560e50158e9 /bpkg/bpkg.cli
parent31421516334f8e41a04c75a1fed86b4cecd11526 (diff)
Rename cfg-{add,fetch} to rep-{add,fetch} (aliases stay same)
The rationale: we now need the 'add' command for certificates (i.e., add a trusted certificate to the configuration). In the old naming scheme we would have to call it cfg-add which is already taken. In the new scheme we will call it crt-add.
Diffstat (limited to 'bpkg/bpkg.cli')
-rw-r--r--bpkg/bpkg.cli34
1 files changed, 16 insertions, 18 deletions
diff --git a/bpkg/bpkg.cli b/bpkg/bpkg.cli
index 107ef0a..13299b3 100644
--- a/bpkg/bpkg.cli
+++ b/bpkg/bpkg.cli
@@ -155,16 +155,26 @@ namespace bpkg
"\l{bpkg-cfg-create(1)} \- create configuration"
}
- bool cfg-add|add
+ bool rep-info
{
- "<rep>",
- "\l{bpkg-cfg-add(1)} \- add repository to configuration",
- ""
+ "\l{bpkg-rep-info(1)} \- print repository information"
}
- bool cfg-fetch|fetch
+ bool rep-add|add
{
- "\l{bpkg-cfg-fetch(1)} \- fetch list of available packages"
+ "\l{bpkg-rep-add(1)} \- add repository to configuration"
+ }
+
+ bool rep-fetch|fetch
+ {
+ "\l{bpkg-rep-fetch(1)} \- fetch list of available packages"
+ }
+
+ bool rep-create
+ {
+ "[<dir>]",
+ "\l{bpkg-rep-create(1)} \- create repository",
+ ""
}
bool pkg-status|status
@@ -238,18 +248,6 @@ namespace bpkg
{
"\l{bpkg-pkg-purge(1)} \- purge package"
}
-
- bool rep-info
- {
- "\l{bpkg-rep-info(1)} \- print repository information"
- }
-
- bool rep-create
- {
- "[<dir>]",
- "\l{bpkg-rep-create(1)} \- create repository",
- ""
- }
};
// Make sure these don't conflict with command names above.