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

Martin Kletzander mkletzan at redhat.com
Thu Jun 21 10:18:14 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 ----
 docs/search.php            |    4 ++--
 tools/virsh.c              |    4 ++--
 4 files changed, 4 insertions(+), 12 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/docs/search.php b/docs/search.php
index d768ae1..c203c7d 100644
--- a/docs/search.php
+++ b/docs/search.php
@@ -8,7 +8,7 @@
     <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
     <link rel="stylesheet" type="text/css" href="main.css" />
     <link rel="SHORTCUT ICON" href="32favicon.png" />
-    <title>Search the documentation on Libvir.org</title>
+    <title>Search the documentation on Libvirt.org</title>
     <meta name="description" content="libvirt, virtualization, virtualization API" />
   </head>
   <body>
@@ -73,7 +73,7 @@
     // We handle only the first argument so far
     $query = ltrim ($query);
     if (! $query) {
-        echo "<h1 align='center'>Search the documentation on Libvir.org</h1>";
+        echo "<h1 align='center'>Search the documentation on Libvirt.org</h1>";
     }
     $scope = $_GET['scope'];
     if ($scope == NULL)
diff --git a/tools/virsh.c b/tools/virsh.c
index a117424..8052d8d 100644
--- a/tools/virsh.c
+++ b/tools/virsh.c
@@ -13126,7 +13126,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);
@@ -13138,7 +13138,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