[Libguestfs] [PATCH] sysprep: align the help message

Richard W.M. Jones rjones at redhat.com
Wed Apr 11 15:31:08 UTC 2012


On Wed, Apr 11, 2012 at 10:07:14PM +0800, Wanlong Gao wrote:
> Align the "virt-sysprep --help" output message.

The problem was actually that Arg.align wasn't called around all of
the parameters, just around the basic set of parameters.  So a change
like:

  let argspec = Arg.align ([
    .. basic args ..
  ] @ extended_args)

would have been more appropriate to fix this.

However I also took the opportunity to make other fixes.  See:

https://github.com/libguestfs/libguestfs/commit/edca57b49e88d179d996652a44f7d6ba5b9ca729
https://github.com/libguestfs/libguestfs/commit/a3d6629a0b54aca6d7b5b38750399b5396cdbf07
https://github.com/libguestfs/libguestfs/commit/16b2ffa97ea8b2872306bc4400605821440f6589
https://github.com/libguestfs/libguestfs/commit/4ee518508fcc084f6d34c1c213b73a3abf13ddac

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v




More information about the Libguestfs mailing list