virt-ssh-helper: Add manual page

We don't usually provide manual pages for internal tools,
but in the case of virt-ssh-helper the command is installed
inside the default $PATH and so it's likely that the user
will stumble upon it by using the shell's completion feature
when invoking another virt-* command, which makes it a good
idea to provide at least a minimal manual page.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Andrea Bolognani 2021-12-10 15:56:29 +01:00
parent 974a777f1e
commit 82d514084a
3 changed files with 97 additions and 0 deletions

View File

@ -19,6 +19,7 @@ docs_man_files = [
{ 'name': 'virt-pki-query-dn', 'section': '1', 'install': true },
{ 'name': 'virt-pki-validate', 'section': '1', 'install': true },
{ 'name': 'virt-qemu-run', 'section': '1', 'install': conf.has('WITH_QEMU') },
{ 'name': 'virt-ssh-helper', 'section': '1', 'install': conf.has('WITH_LIBVIRTD') },
{ 'name': 'virt-xml-validate', 'section': '1', 'install': true },
{ 'name': 'libvirtd', 'section': '8', 'install': conf.has('WITH_LIBVIRTD') },

View File

@ -0,0 +1,95 @@
===============
virt-ssh-helper
===============
--------------------
libvirt socket proxy
--------------------
:Manual section: 1
:Manual group: Virtualization Support
.. contents::
SYNOPSIS
========
``virt-ssh-helper`` [*OPTION*]... *URI*
DESCRIPTION
===========
``virt-ssh-helper`` is an internal tool used to handle connections
coming from remote clients, and it's not intended to be called
directly by the user.
OPTIONS
=======
*URI*
Local libvirt URI to connect the remote client to.
``-r``, ``--readonly``
Make the connection read-only.
``-h``, ``--help``
Display command line help usage then exit.
``-V``, ``--version``
Display version information then exit.
EXIT STATUS
===========
The exit status will be zero on success, non-zero on failure.
AUTHOR
======
Daniel P. Berrangé
BUGS
====
Please report all bugs you discover. This should be done via either:
#. the mailing list
`https://libvirt.org/contact.html <https://libvirt.org/contact.html>`_
#. the bug tracker
`https://libvirt.org/bugs.html <https://libvirt.org/bugs.html>`_
Alternatively, you may report bugs to your software distributor / vendor.
COPYRIGHT
=========
Copyright (C) 2020 Red Hat, Inc.
LICENSE
=======
``virt-ssh-helper`` is distributed under the terms of the GNU LGPL v2+.
This is free software; see the source for copying conditions. There
is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
SEE ALSO
========
virsh(1), `https://libvirt.org/ <https://libvirt.org/>`_

View File

@ -1693,6 +1693,7 @@ exit 0
%{_mandir}/man1/virt-admin.1*
%{_mandir}/man1/virt-host-validate.1*
%{_mandir}/man1/virt-ssh-helper.1*
%{_mandir}/man8/libvirtd.8*
%{_mandir}/man8/virtlogd.8*
%{_mandir}/man8/virtlockd.8*