From fb406eac6512e1eeff248e8e0af7bfbf0fcf6895 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Thu, 26 May 2022 14:23:27 +0200 Subject: [PATCH] man/homectl: adjust man page to match code Fixes #22966. Since there are competing conventions, let's not change our code, but make the docs match what is implemented. (cherry picked from commit b72308d34440530df3bb8b6b3d272dfc303d1d37) (cherry picked from commit cfd6a14c7d21fc4e4b0d8a5b684127b69231fa96) --- man/homectl.xml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/man/homectl.xml b/man/homectl.xml index eaed7897b1..7993f96e8b 100644 --- a/man/homectl.xml +++ b/man/homectl.xml @@ -673,7 +673,7 @@ CIPHER MODE - BITS + BYTES TYPE ALGORITHM SECONDS @@ -683,7 +683,12 @@ Configures various cryptographic parameters for the LUKS2 storage mechanism. See cryptsetup8 - for details on the specific attributes. + for details on the specific attributes. + + Note that homectl uses bytes for key size, like + /proc/crypto, but cryptsetup8 + uses bits.