From cd3730524c522cccf3812ba9f5e0faee642635aa Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 24 Jan 2025 13:31:51 +0100 Subject: [PATCH] man: add some sections to homectl man page This adds the same sections we already have in the homectl --help blurb also to the man page. While we are at it, let's also add a new section for Authentication related switches. --- man/homectl.xml | 49 ++++++++++++++++++++++++++++++++++++++++++++-- src/home/homectl.c | 1 + 2 files changed, 48 insertions(+), 2 deletions(-) diff --git a/man/homectl.xml b/man/homectl.xml index 6dc830233c6..243d2b2b81a 100644 --- a/man/homectl.xml +++ b/man/homectl.xml @@ -191,7 +191,7 @@ - User Record Properties + General User Record Properties The following options control various properties of the user records/home directories that systemd-homed.service manages. These switches may be used in conjunction with the @@ -394,7 +394,12 @@ + + + + Authentication User Record Properties + Either takes a SSH authorized key line to associate with the user record or a @@ -526,8 +531,13 @@ + + - + + Blob Directory User Record Properties + + PATH @@ -560,7 +570,12 @@ + + + + Account Management User Record Properties + @@ -651,7 +666,12 @@ + + + + Resource Management User Record Properties + Either takes a size in bytes as argument (possibly using the usual K, M, G, … @@ -757,7 +777,12 @@ + + + + Storage User Record Properties + @@ -815,7 +840,12 @@ + + + + LUKS Storage User Record Properties + @@ -933,7 +963,12 @@ + + + + Mounting User Record Properties + @@ -947,7 +982,12 @@ + + + + CIFS User Record Properties + @@ -966,7 +1006,12 @@ + + + + Login Behaviour Record Properties + diff --git a/src/home/homectl.c b/src/home/homectl.c index 29786760e2d..a056f831a69 100644 --- a/src/home/homectl.c +++ b/src/home/homectl.c @@ -2772,6 +2772,7 @@ static int help(int argc, char *argv[], void *userdata) { " --setenv=VARIABLE[=VALUE] Set an environment variable at log-in\n" " --timezone=TIMEZONE Set a time-zone\n" " --language=LOCALE Set preferred languages\n" + "\n%4$sAuthentication User Record Properties:%5$s\n" " --ssh-authorized-keys=KEYS\n" " Specify SSH public keys\n" " --pkcs11-token-uri=URI URI to PKCS#11 security token containing\n" -- 2.47.3