]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
virsh: Un-document 'virsh echo'
authorPeter Krempa <pkrempa@redhat.com>
Wed, 11 Aug 2021 13:17:38 +0000 (15:17 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 18 Aug 2021 09:07:25 +0000 (11:07 +0200)
Note that it's for internal testing use and remove the manpage entry.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
docs/manpages/virsh.rst
tools/vsh.c

index 20936994ce060c4a17289bbee4efc04768e553f4..4075929a76ea22c75a99a5d9aa4f59200c503168 100644 (file)
@@ -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
 ----------------------
 
index ba370a47c59267ee9574fc682acdfbd968d7c360..e49d2a3863c194b94553874c25114252af2bdf55 100644 (file)
@@ -3136,10 +3136,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}
 };