[Pkg-libvirt-commits] [libguestfs] 118/266: v2v: Make -i local be an alias for -i disk.

Hilko Bengen bengen at moszumanska.debian.org
Fri Oct 3 14:41:50 UTC 2014


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to annotated tag debian/1%1.27.35-1
in repository libguestfs.

commit 25b33344b970c73c2dfaff44bcd410407e1e783e
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Fri Aug 15 19:50:43 2014 +0100

    v2v: Make -i local be an alias for -i disk.
    
    Analogous to -o local.
---
 v2v/cmdline.ml   | 2 +-
 v2v/virt-v2v.pod | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/v2v/cmdline.ml b/v2v/cmdline.ml
index c94cd60..c99eaef 100644
--- a/v2v/cmdline.ml
+++ b/v2v/cmdline.ml
@@ -50,7 +50,7 @@ let parse_cmdline () =
 
   let input_mode = ref `Libvirt in
   let set_input_mode = function
-    | "disk" -> input_mode := `Disk
+    | "disk" | "local" -> input_mode := `Disk
     | "libvirt" -> input_mode := `Libvirt
     | "libvirtxml" -> input_mode := `LibvirtXML
     | s ->
diff --git a/v2v/virt-v2v.pod b/v2v/virt-v2v.pod
index e4a484f..6e612b2 100644
--- a/v2v/virt-v2v.pod
+++ b/v2v/virt-v2v.pod
@@ -66,6 +66,10 @@ This file is read in order to get metadata about the source guest
 (such as its name, amount of memory), and also to locate the input
 disks.
 
+=item B<-i local>
+
+This is the same as I<-i disk>.
+
 =item B<-ic> libvirtURI
 
 Specify a libvirt connection URI to use when reading the guest.  This

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list