X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=resize%2Fvirt-resize.pod;h=5ab1d7a4f097616a82a1d336b3f1e5416255d932;hb=3f54bd02fcf540f9b4b6edc93f3b6b9c7ba136bd;hp=3a6af1838fba9f79af8583cdfd0bd40defe43f14;hpb=62a34ff2d33b8692781ab297ca7c9972d72cdb4d;p=libguestfs.git diff --git a/resize/virt-resize.pod b/resize/virt-resize.pod index 3a6af18..5ab1d7a 100644 --- a/resize/virt-resize.pod +++ b/resize/virt-resize.pod @@ -349,6 +349,12 @@ You can give this option multiple times, I it doesn't make sense to do this unless the logical volumes you specify are all in different volume groups. +=item B<--machine-readable> + +This option is used to make the output more machine friendly +when being parsed by other programs. See +L below. + =item B<-n> =item B<--dryrun> @@ -483,6 +489,25 @@ Display version number and exit. =back +=head1 MACHINE READABLE OUTPUT + +The I<--machine-readable> option can be used to make the output more +machine friendly, which is useful when calling virt-resize from other +programs, GUIs etc. + +Use the option on its own to query the capabilities of the virt-resize +binary. Typical output looks like this: + + $ virt-resize --machine-readable + virt-resize + ntfsresize-force + 32bitok + ntfs + btrfs + +A list of features is printed, one per line, and the program exits +with status 0. + =head1 NOTES =head2 "Partition 1 does not end on cylinder boundary." @@ -547,6 +572,11 @@ have meaning to the shell such as C<#> and space. You may need to quote or escape these characters on the command line. See the shell manual page L for details. +=head1 EXIT STATUS + +This program returns 0 if successful, or non-zero if there was an +error. + =head1 SEE ALSO L,