Skip to content

Commit

Permalink
Do not mention --new-keyfile option in luksChangeKey action man page.
Browse files Browse the repository at this point in the history
  • Loading branch information
oniko committed Aug 15, 2023
1 parent a7821c3 commit b65fb60
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions man/common_options.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,14 @@ ifdef::ACTION_LUKSADDKEY,ACTION_LUKSCHANGEKEY[]
The passphrase supplied via --key-file is always the passphrase for existing
keyslot requested by the command.
+
ifdef::ACTION_LUKSADDKEY[]
If you want to set a new passphrase via key file, you have to use a
positional argument or parameter --new-keyfile.
endif::[]
ifdef::ACTION_LUKSCHANGEKEY[]
If you want to set a new passphrase via key file, you have to use a
positional argument.
endif::[]
+
endif::[]
ifdef::ACTION_OPEN[]
Expand Down

0 comments on commit b65fb60

Please sign in to comment.