[Pkg-libvirt-commits] [libguestfs] 81/179: v2v: Print version of virt-v2v in debug output.
Hilko Bengen
bengen at moszumanska.debian.org
Fri Oct 31 19:08:26 UTC 2014
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to branch experimental
in repository libguestfs.
commit ca6d7d9c34dacf83dc8611c74f66cfe208fcdc0b
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Fri Oct 17 13:44:35 2014 +0100
v2v: Print version of virt-v2v in debug output.
Easier than asking users to send us this information, which they often don't.
---
v2v/v2v.ml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/v2v/v2v.ml b/v2v/v2v.ml
index 7b10990..6bd2e2c 100644
--- a/v2v/v2v.ml
+++ b/v2v/v2v.ml
@@ -53,6 +53,11 @@ let rec main () =
let msg fs = make_message_function ~quiet fs in
+ (* Print the version, easier than asking users to tell us. *)
+ if verbose then
+ printf "%s: %s %s (%s)\n%!"
+ prog Config.package_name Config.package_version Config.host_cpu;
+
msg (f_"Opening the source %s") input#as_options;
let source = input#source () in
--
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