SOP update-key: Rename --no-new-mechanisms option to --no-added-capabilities

This commit is contained in:
Paul Schaub 2025-04-10 14:36:28 +02:00
parent 4b00369194
commit 655f9ac134
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311
3 changed files with 5 additions and 5 deletions

View file

@ -20,7 +20,7 @@ class UpdateKeyCmd : AbstractSopCmd() {
@Option(names = ["--signing-only"]) var signingOnly = false
@Option(names = ["--no-new-mechanisms"]) var noNewMechanisms = false
@Option(names = ["--no-added-capabilities"]) var noAddedCapabilities = false
@Option(names = ["--with-key-password"], paramLabel = "PASSWORD")
var withKeyPassword: List<String> = listOf()
@ -38,8 +38,8 @@ class UpdateKeyCmd : AbstractSopCmd() {
updateKey.signingOnly()
}
if (noNewMechanisms) {
updateKey.noNewMechanisms()
if (noAddedCapabilities) {
updateKey.noAddedCapabilities()
}
for (passwordFileName in withKeyPassword) {