options: Update documentation for --key SELECTOR.

Use the common/options/key-option.pod fragment to document the --key
option and selector instead of duplicating the same documentation
everywhere.
This commit is contained in:
Richard W.M. Jones
2019-11-26 12:50:16 +00:00
parent 152ff05ae0
commit 8ba0457e9e
25 changed files with 28 additions and 210 deletions

View File

@@ -101,6 +101,7 @@ stamp-guestmount.pod: guestmount.pod
$(PODWRAPPER) \
--man guestmount.1 \
--html $(top_builddir)/website/guestmount.1.html \
--path $(top_srcdir)/common/options \
--license GPLv2+ \
--warning ro-option \
$<

View File

@@ -246,22 +246,7 @@ Using L<virt-inspector(1)> code, inspect the disks looking for
an operating system and mount filesystems as they would be
mounted on the real virtual machine.
=item B<--key> SELECTOR
Specify a key for LUKS, to automatically open a LUKS device when using
the inspection. C<SELECTOR> can be in one of the following formats:
=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
__INCLUDE:key-option.pod__
=item B<--keys-from-stdin>