[Libguestfs] [PATCH common] options: Describe --key SELECTOR in a single file.

Richard W.M. Jones rjones at redhat.com
Tue Nov 26 18:10:44 UTC 2019


Other man pages can include this file to document the --key option and
selector.
---
 options/key-option.pod | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/options/key-option.pod b/options/key-option.pod
new file mode 100644
index 0000000..cc188dc
--- /dev/null
+++ b/options/key-option.pod
@@ -0,0 +1,16 @@
+=item B<--key> SELECTOR
+
+Specify a key for LUKS, to automatically open a LUKS device when using
+the inspection.
+
+=over 4
+
+=item B<--key> C<DEVICE>:key:KEY_STRING
+
+Use the specified C<KEY_STRING> as passphrase.
+
+=item B<--key> C<DEVICE>:file:FILENAME
+
+Read the passphrase from F<FILENAME>.
+
+=back
-- 
2.23.0




More information about the Libguestfs mailing list