summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2011-11-29 11:42:10 +0000
committerSimon MacMullen <simon@rabbitmq.com>2011-11-29 11:42:10 +0000
commit74dfa4dd08dc5b2e90491694940965f054b65f91 (patch)
treed6ec8b4b4b587bbf54261c52da1a4e706fc75f68 /docs
parente58525e561fe88243662b7f04c7d93da1a32fecb (diff)
parentfdb6e3bdfd51aa455da606f636b36d19a8181f20 (diff)
downloadrabbitmq-server-git-74dfa4dd08dc5b2e90491694940965f054b65f91.tar.gz
Merge bug24579
Diffstat (limited to 'docs')
-rw-r--r--docs/rabbitmqctl.1.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/rabbitmqctl.1.xml b/docs/rabbitmqctl.1.xml
index f21888bd70..157550387d 100644
--- a/docs/rabbitmqctl.1.xml
+++ b/docs/rabbitmqctl.1.xml
@@ -1315,6 +1315,22 @@
</para>
</listitem>
</varlistentry>
+
+ <varlistentry>
+ <term><cmdsynopsis><command>eval</command> <arg choice="req"><replaceable>expr</replaceable></arg></cmdsynopsis></term>
+ <listitem>
+ <para>
+ Evaluate an arbitrary Erlang expression.
+ </para>
+ <para role="example-prefix">
+ For example:
+ </para>
+ <screen role="example">rabbitmqctl eval 'node().'</screen>
+ <para role="example">
+ This command returns the name of the node to which rabbitmqctl has connected.
+ </para>
+ </listitem>
+ </varlistentry>
</variablelist>
</refsect2>