[libvirt] [PATCH 3/3] docs/virsh: various minor fixes

Martin Kletzander mkletzan at redhat.com
Thu Aug 9 14:18:00 UTC 2012


List:
 - some old libvir/libvirt rename leftovers (the only problem can be
   if somebody parses 'virsh version' output really badly)
 - remove pointless tags specified in some pages that are not used
---
 docs/api_extension.html.in |    4 ----
 docs/pending.html.in       |    4 ----
 tools/virsh-host.c         |    4 ++--
 3 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/docs/api_extension.html.in b/docs/api_extension.html.in
index 8d74752..83c488c 100644
--- a/docs/api_extension.html.in
+++ b/docs/api_extension.html.in
@@ -1,8 +1,4 @@
 <html>
-  <head>
-    <title>Implementing a new API in Libvirt</title>
-  </head>
-
   <body>
     <h1>Implementing a new API in Libvirt</h1>

diff --git a/docs/pending.html.in b/docs/pending.html.in
index 7a31878..f2978bf 100644
--- a/docs/pending.html.in
+++ b/docs/pending.html.in
@@ -1,8 +1,4 @@
 <html>
-  <head>
-    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-    <title>Pending patches needing review</title>
-  </head>
   <body>
     <h1>Pending patches needing review</h1>
     <p> A list of pending patches needing review upstream is available
diff --git a/tools/virsh-host.c b/tools/virsh-host.c
index d9d09b4..b09d9f9 100644
--- a/tools/virsh-host.c
+++ b/tools/virsh-host.c
@@ -762,7 +762,7 @@ cmdVersion(vshControl *ctl, const vshCmd *cmd ATTRIBUTE_UNUSED)
     includeVersion %= 1000000;
     minor = includeVersion / 1000;
     rel = includeVersion % 1000;
-    vshPrint(ctl, _("Compiled against library: libvir %d.%d.%d\n"),
+    vshPrint(ctl, _("Compiled against library: libvirt %d.%d.%d\n"),
              major, minor, rel);

     ret = virGetVersion(&libVersion, hvType, &apiVersion);
@@ -774,7 +774,7 @@ cmdVersion(vshControl *ctl, const vshCmd *cmd ATTRIBUTE_UNUSED)
     libVersion %= 1000000;
     minor = libVersion / 1000;
     rel = libVersion % 1000;
-    vshPrint(ctl, _("Using library: libvir %d.%d.%d\n"),
+    vshPrint(ctl, _("Using library: libvirt %d.%d.%d\n"),
              major, minor, rel);

     major = apiVersion / 1000000;
-- 
1.7.8.6




More information about the libvir-list mailing list