hx509: Add hxtool cc --no-root-certs, --no-private-keys, and --append options

This commit is contained in:
Nicolas Williams
2022-12-19 16:26:03 -06:00
parent 6def4750bc
commit d24b7fd8b2
2 changed files with 65 additions and 7 deletions

View File

@@ -363,6 +363,21 @@ command = {
argument = "password"
help = "password, prompter, or environment"
}
option = {
long = "append"
type = "flag"
help = "append source to destination"
}
option = {
long = "root-certs"
type = "-flag"
help = "do not copy root certificates"
}
option = {
long = "private-keys"
type = "-flag"
help = "do not copy private keys"
}
min_args="2"
argument="in-certificates-1 ... out-certificate"
help = "Copy in certificates stores into out certificate store"