virsh: Un-document 'virsh echo'

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>
This commit is contained in:
Peter Krempa 2021-08-11 15:17:38 +02:00
parent 510b951d9c
commit a52a201c22
2 changed files with 2 additions and 19 deletions

View 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. 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 hypervisor-cpu-compare
---------------------- ----------------------

View File

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