From b65fb6072e92e44a3f21503ea412d15870726bb1 Mon Sep 17 00:00:00 2001 From: Ondrej Kozina Date: Wed, 9 Aug 2023 14:13:34 +0200 Subject: [PATCH] Do not mention --new-keyfile option in luksChangeKey action man page. --- man/common_options.adoc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/man/common_options.adoc b/man/common_options.adoc index 0280b704..1fea45cc 100644 --- a/man/common_options.adoc +++ b/man/common_options.adoc @@ -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[]