docs: don't hardcode an ancient version in manpage examples

Subsitute in the current version so the example always reflect today's
version of reality.

Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrangé 2020-11-17 14:44:28 +00:00
parent a7cafa7bc2
commit d62d7aa854
4 changed files with 4 additions and 3 deletions

View File

@ -202,7 +202,7 @@ To retrieve the version of ``libvirtd``:
::
# libvirtd --version
libvirtd (libvirt) 0.8.2
libvirtd (libvirt) @VERSION@
To start ``libvirtd``, instructing it to daemonize and create a PID file:

View File

@ -71,6 +71,7 @@ endforeach
docs_man_conf = configuration_data()
docs_man_conf.set('SYSCONFDIR', sysconfdir)
docs_man_conf.set('RUNSTATEDIR', runstatedir)
docs_man_conf.set('VERSION', meson.project_version())
foreach data : docs_man_files
rst_in_file = '@0@.rst'.format(data['name'])

View File

@ -123,7 +123,7 @@ To retrieve the version of ``virtlockd``:
::
# virtlockd --version
virtlockd (libvirt) 1.1.1
virtlockd (libvirt) @VERSION@
To start ``virtlockd``, instructing it to daemonize and create a PID file:

View File

@ -124,7 +124,7 @@ To retrieve the version of ``virtlogd``:
::
# virtlogd --version
virtlogd (libvirt) 1.1.1
virtlogd (libvirt) @VERSION@
To start ``virtlogd``, instructing it to daemonize and create a PID file: