Skip to content

Commit 0b5aa42

Browse files
author
Daniil Fedotov
committed
Mention ctl decode arguments on manpage.
1 parent f7a16e9 commit 0b5aa42

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

docs/rabbitmqctl.1.xml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2252,7 +2252,7 @@ rabbitmqctl encode --cipher blowfish_cfb64 --hash sha256 --iterations 10000 \
22522252

22532253
<varlistentry>
22542254
<!-- one-line formatting matters for rabbit_ctl_usage.erl code generation -->
2255-
<term><cmdsynopsis><command>decode</command> <arg choice="opt"><replaceable>value</replaceable></arg> <arg choice="opt"><replaceable>passphrase</replaceable></arg></cmdsynopsis>
2255+
<term><cmdsynopsis><command>decode</command> <arg choice="opt"><replaceable>value</replaceable></arg> <arg choice="opt"><replaceable>passphrase</replaceable></arg><arg choice="opt">--cipher <replaceable>cipher</replaceable></arg> <arg choice="opt">--hash <replaceable>hash</replaceable></arg> <arg choice="opt">--iterations <replaceable>iterations</replaceable></arg></cmdsynopsis>
22562256
</term>
22572257
<listitem>
22582258
<variablelist>
@@ -2271,6 +2271,24 @@ rabbitmqctl encode --cipher blowfish_cfb64 --hash sha256 --iterations 10000 \
22712271
<screen role="example">rabbitmqctl decode '{encrypted, &lt;&lt;"..."&gt;&gt;}' mypassphrase</screen>
22722272
</listitem>
22732273
</varlistentry>
2274+
<varlistentry>
2275+
<term>
2276+
<cmdsynopsis>
2277+
<arg choice="opt">--cipher <replaceable>cipher</replaceable></arg>
2278+
<arg choice="opt">--hash <replaceable>hash</replaceable></arg>
2279+
<arg choice="opt">--iterations <replaceable>iterations</replaceable></arg>
2280+
</cmdsynopsis>
2281+
</term>
2282+
<listitem>
2283+
<para>
2284+
Options to specify the decryption settings. They can be used independently.
2285+
</para>
2286+
<para role="example-prefix">For example:</para>
2287+
<screen role="example">
2288+
rabbitmqctl decode --cipher blowfish_cfb64 --hash sha256 --iterations 10000 \
2289+
'{encrypted,&lt;&lt;"cU4kaour6KG8n/rC4IZT4MfKsS/th9gdAMWjcY9ygUPIwiW4BJmVyg=="&gt;&gt;}' mypassphrase</screen>
2290+
</listitem>
2291+
</varlistentry>
22742292
</variablelist>
22752293
</listitem>
22762294
</varlistentry>

0 commit comments

Comments
 (0)