Add command line option "repmgr --version-number"

Outputs the raw version number.

Intended for use by scripts etc.
This commit is contained in:
Ian Barwick
2019-01-08 10:04:25 +09:00
parent b89b3c0961
commit b5b9aacc8a
4 changed files with 37 additions and 1 deletions

View File

@@ -15,6 +15,31 @@
See also: <xref linkend="upgrading-repmgr">
</para>
<sect1 id="release-4.3">
<title>Release 4.3</title>
<para><emphasis>???, 2019</emphasis></para>
<para>
&repmgr; 4.3 is a major release.
</para>
<sect2>
<title>repmgr enhancements</title>
<para>
<itemizedlist>
<listitem>
<para>
<command>repmgr --version-number</command> outputs the &quot;raw&quot;
repmgr version number (e.g. <literal>40300</literal>). This is intended
for use by scripts etc. requiring an easily parseable representation
of the &repmgr; version.
</para>
</listitem>
</itemizedlist>
</para>
</sect2>
</sect1>
<sect1 id="release-4.2">
<title>Release 4.2</title>
<para><emphasis>Wed October 24, 2018</emphasis></para>