]> git.proxmox.com Git - swtpm.git/commitdiff
swtpm_setup: mention dir:// and file:// in man page and usage
authorStefan Reiter <stefan@pimaker.at>
Thu, 30 Sep 2021 13:59:40 +0000 (15:59 +0200)
committerStefan Berger <stefanb@us.ibm.com>
Tue, 5 Oct 2021 15:54:42 +0000 (11:54 -0400)
Signed-off-by: Stefan Reiter <stefan@pimaker.at>
man/man8/swtpm_setup.pod
src/swtpm_setup/swtpm_setup.c

index d4db21364077c7b055bec81a1ae0364b725c6d86..09a3922ab74da99b73e07f085535053c54e87355 100644 (file)
@@ -34,8 +34,8 @@ will be used.
 
 =item B<--tpm-state <dir>> or B<--tpmstate <dir>>
 
-Path to a directory where the TPM's state will be written into;
-this is a mandatory argument
+Path where the TPM's state will be written to; this is a mandatory argument.
+Prefix with dir:// to use directory backend, or file:// to use linear file.
 
 =item B<--tpm <path to executable>>
 
index b48136d9f412720de7d59a13aa2da2c9a6db31ad..88352b75c6ad9e0365ca9776f8ce1154fe332b65 100644 (file)
@@ -768,8 +768,9 @@ static void usage(const char *prgname, const char *default_config_file)
         "\n"
         "--runas <user>   : Run this program under the given user's account.\n"
         "\n"
-        "--tpm-state <dir>: Path to a directory where the TPM's state will be written\n"
-        "                   into; this is a mandatory argument\n"
+        "--tpm-state <dir>: Path where the TPM's state will be written to;\n"
+        "                   this is a mandatory argument. Prefix with dir:// to"
+        "                   use directory backend, or file:// to use linear file.\n"
         "\n"
         "--tpmstate <dir> : This is an alias for --tpm-state <dir>.\n"
         "\n"