From a52a201c22e75f604f8e3cc0646121091fed575b Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Wed, 11 Aug 2021 15:17:38 +0200 Subject: [PATCH] virsh: Un-document 'virsh echo' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Note that it's for internal testing use and remove the manpage entry. Signed-off-by: Peter Krempa Reviewed-by: Martin Kletzander Reviewed-by: Ján Tomko --- 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 ba370a47c5..e49d2a3863 100644 --- a/tools/vsh.c +++ b/tools/vsh.c @@ -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} };