mirror of
https://codeberg.org/PGPainless/sop-java.git
synced 2025-09-09 02:09:42 +02:00
SOP update-key: Rename --no-new-mechanisms option to --no-added-capabilities
This commit is contained in:
parent
a8cfb8fbf4
commit
8c077a9c13
3 changed files with 5 additions and 5 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue