aboutsummaryrefslogtreecommitdiff
path: root/bpkg/rep-create.cli
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/rep-create.cli')
-rw-r--r--bpkg/rep-create.cli17
1 files changed, 14 insertions, 3 deletions
diff --git a/bpkg/rep-create.cli b/bpkg/rep-create.cli
index fc11a0c..a48922e 100644
--- a/bpkg/rep-create.cli
+++ b/bpkg/rep-create.cli
@@ -20,9 +20,12 @@ namespace bpkg
\h|DESCRIPTION|
The \cb{rep-create} command regenerates the \cb{packages} manifest file
- based on the files present in the repository directory. If <dir> is not
- specified, then the current working directory is used as the repository
- root."
+ based on the files present in the repository directory. If the
+ \cb{repositories} manifest file contains a certificate, then the
+ \cb{signature} manifest file is regenerated as well. In this case the
+ \cb{--key} option must be used to specify the certificate's private
+ key. If <dir> is not specified, then the current working directory is
+ used as the repository root."
}
class rep_create_options: common_options
@@ -33,5 +36,13 @@ namespace bpkg
{
"Ignore unknown manifest entries."
}
+
+ string --key
+ {
+ "<name>",
+ "Private key to use to sign the repository. In most cases <name> will
+ be a path to the key file but it can also be a key id when a custom
+ \cb{openssl} cryptographic engine is used."
+ }
};
}