[PATCH 1/6] virsh: Un-document 'virsh echo'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Note that it's for internal testing use and remove the manpage entry.

Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
---
 docs/manpages/virsh.rst | 17 -----------------
 tools/vsh.c             |  4 ++--
 2 files changed, 2 insertions(+), 19 deletions(-)

diff --git a/docs/manpages/virsh.rst b/docs/manpages/virsh.rst
index 20936994ce..4075929a76 100644
--- a/docs/manpages/virsh.rst
+++ b/docs/manpages/virsh.rst
@@ -907,23 +907,6 @@ print that all CPU models are accepted for these architectures and the actual
 list of supported CPU models can be checked in the domain capabilities XML.


-echo
-----
-
-**Syntax:**
-
-::
-
-   echo [--shell] [--xml] [err...] [arg...]
-
-Echo back each *arg*, separated by space.  If *--shell* is
-specified, then the output will be single-quoted where needed, so that
-it is suitable for reuse in a shell context.  If *--xml* is
-specified, then the output will be escaped for use in XML.
-If *--err* is specified, prefix ``"error: "`` and output to stderr
-instead of stdout.
-
-
 hypervisor-cpu-compare
 ----------------------

diff --git a/tools/vsh.c b/tools/vsh.c
index f9600bafba..f44db5d56d 100644
--- a/tools/vsh.c
+++ b/tools/vsh.c
@@ -3139,10 +3139,10 @@ const vshCmdOptDef opts_echo[] = {

 const vshCmdInfo info_echo[] = {
     {.name = "help",
-     .data = N_("echo arguments")
+     .data = N_("echo arguments. Used for internal testing.")
     },
     {.name = "desc",
-     .data = N_("Echo back arguments, possibly with quoting.")
+     .data = N_("Echo back arguments, possibly with quoting. Used for internal testing.")
     },
     {.name = NULL}
 };
-- 
2.31.1




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux