aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_interface/doc
diff options
context:
space:
mode:
authorMagnus Henoch <[email protected]>2010-03-19 13:38:07 +0000
committerErlang/OTP <[email protected]>2010-03-19 13:38:07 +0000
commitf4b825b43fd8057f89d8ed4c6d8a1e1d775d42b3 (patch)
treef0a94d29933a25d423c619feee65c9afffebadd1 /lib/erl_interface/doc
parent278c0493ea371977d2860c6faeef4fb381dee9bc (diff)
downloadotp-f4b825b43fd8057f89d8ed4c6d8a1e1d775d42b3.tar.gz
otp-f4b825b43fd8057f89d8ed4c6d8a1e1d775d42b3.tar.bz2
otp-f4b825b43fd8057f89d8ed4c6d8a1e1d775d42b3.zip
erl_call: fix documentation of -a option
The default value for Fun is start, not [] as the documentation used to suggest. Also, format [] with <c> instead of <em> since it is a code fragment, not an emphasised word.
Diffstat (limited to 'lib/erl_interface/doc')
-rw-r--r--lib/erl_interface/doc/src/erl_call.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/erl_interface/doc/src/erl_call.xml b/lib/erl_interface/doc/src/erl_call.xml
index 2d88e7616a..c597e11481 100644
--- a/lib/erl_interface/doc/src/erl_call.xml
+++ b/lib/erl_interface/doc/src/erl_call.xml
@@ -4,7 +4,7 @@
<comref>
<header>
<copyright>
- <year>1996</year><year>2009</year>
+ <year>1996</year><year>2010</year>
<holder>Ericsson AB. All Rights Reserved.</holder>
</copyright>
<legalnotice>
@@ -13,12 +13,12 @@
compliance with the License. You should have received a copy of the
Erlang Public License along with this software. If not, it can be
retrieved online at http://www.erlang.org/.
-
+
Software distributed under the License is distributed on an "AS IS"
basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
the License for the specific language governing rights and limitations
under the License.
-
+
</legalnotice>
<title>erl_call</title>
@@ -61,7 +61,7 @@
<item>
<p>(<em>optional</em>): Applies the specified function
and returns the result. <c><![CDATA[Mod]]></c> must be specified, however
- <em>[]</em> is assumed for unspecified <c><![CDATA[Fun]]></c> and <c><![CDATA[Args]]></c>. <c><![CDATA[Args]]></c> should
+ <c>start</c> and <c>[]</c> are assumed for unspecified <c><![CDATA[Fun]]></c> and <c><![CDATA[Args]]></c>, respectively. <c><![CDATA[Args]]></c> should
be in the same format as for <c><![CDATA[erlang:apply/3]]></c>. Note
that this flag takes exactly one argument, so quoting
may be necessary in order to group <c><![CDATA[Mod]]></c>, <c><![CDATA[Fun]]></c>