summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPeter Krempa <pkrempa@redhat.com>2014-06-18 11:16:33 +0200
committerPeter Krempa <pkrempa@redhat.com>2014-06-18 11:26:18 +0200
commit09e1ec19aef960e76f5b2eb7fda8d62d02abe1dd (patch)
tree9043f2256648352d2ca4cf90610326e842978714 /tools
parentc7abe7448c746cf0e3a6b7fab80e083afba5d5ae (diff)
downloadlibvirt-09e1ec19aef960e76f5b2eb7fda8d62d02abe1dd.tar.gz
virsh: man: Fix examples and docs for virsh version
The version command now takes the --daemon parameter for a while and the output example was pretty outdated. Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1110673
Diffstat (limited to 'tools')
-rw-r--r--tools/virsh.pod25
1 files changed, 15 insertions, 10 deletions
diff --git a/tools/virsh.pod b/tools/virsh.pod
index 35cf878617..b5227980e5 100644
--- a/tools/virsh.pod
+++ b/tools/virsh.pod
@@ -206,23 +206,28 @@ option instead. For example:
quit this interactive terminal
-=item B<version>
+=item B<version> [I<--daemon>]
Will print out the major version info about what this built from.
+If I<--daemon> is specified then the version of the libvirt daemon
+is included in the output.
=over 4
B<Example>
-B<virsh> version
-
-Compiled against library: libvir 0.0.6
-
-Using library: libvir 0.0.6
-
-Using API: Xen 3.0.0
-
-Running hypervisor: Xen 3.0.0
+ $ virsh version
+ Compiled against library: libvirt 1.2.3
+ Using library: libvirt 1.2.3
+ Using API: QEMU 1.2.3
+ Running hypervisor: QEMU 2.0.50
+
+ $ virsh version --daemon
+ Compiled against library: libvirt 1.2.3
+ Using library: libvirt 1.2.3
+ Using API: QEMU 1.2.3
+ Running hypervisor: QEMU 2.0.50
+ Running against daemon: 1.2.6
=back