Skip to content

Commit b65fb60

Browse files
committed
Do not mention --new-keyfile option in luksChangeKey action man page.
1 parent a7821c3 commit b65fb60

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

man/common_options.adoc

+6
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,14 @@ ifdef::ACTION_LUKSADDKEY,ACTION_LUKSCHANGEKEY[]
131131
The passphrase supplied via --key-file is always the passphrase for existing
132132
keyslot requested by the command.
133133
+
134+
ifdef::ACTION_LUKSADDKEY[]
134135
If you want to set a new passphrase via key file, you have to use a
135136
positional argument or parameter --new-keyfile.
137+
endif::[]
138+
ifdef::ACTION_LUKSCHANGEKEY[]
139+
If you want to set a new passphrase via key file, you have to use a
140+
positional argument.
141+
endif::[]
136142
+
137143
endif::[]
138144
ifdef::ACTION_OPEN[]

0 commit comments

Comments
 (0)