From f6f858eada699b31ca93fd68bc82cb3ce8ede2d8 Mon Sep 17 00:00:00 2001 From: Stefan Berger Date: Fri, 8 Nov 2024 09:09:18 -0500 Subject: [PATCH] man: Add some clarification to the nameing of profiles in files Signed-off-by: Stefan Berger --- man/man8/swtpm_setup.pod | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/man/man8/swtpm_setup.pod b/man/man8/swtpm_setup.pod index 295eaea4a..a8595ba58 100644 --- a/man/man8/swtpm_setup.pod +++ b/man/man8/swtpm_setup.pod @@ -241,6 +241,9 @@ prefix the name with 'builtin:' All profiles loaded from the above mentioned directories require that the file is available under the given name with '.json' appended. +Use the I<--print-profiles> and I<--tpm2> options to display all available +profiles. + =item B<--profile-file > (since v0.10) Configure a TPM 2 with a profile from a file. @@ -267,10 +270,13 @@ I. =item B<--print-profiles> (since v0.10) Print all profiles found in the local and disto profiles directories and -the built-in ones. All profiles stored in files must have the .json +display the built-in ones. All profiles stored in files must have the .json extension. The names in the displayed JSON will show the name under which these profiles can be loaded with the I<--profile-name> option, -i.e., they will show their filename without the .json extension. +i.e., they will show their filename without the .json extension. Therefore, +a profile with filename myprofile.json will show the I 'myprofile'. +The author of the profile may want to set the I in the profile's JSON +to 'custom:myprofile'. =item B<--print-capabilities> (since v0.2)