aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorFredrik Gustafsson <[email protected]>2013-08-20 11:17:38 +0200
committerFredrik Gustafsson <[email protected]>2013-08-20 11:17:38 +0200
commitaf48b10b5d8628ecec95643dfec297b30d3b7810 (patch)
treefa0e05c4402652c792315bf8d038ed929c22d466 /lib
parent5fca43fc3a0bc5c182c066d0ce37ba1fcdb3e636 (diff)
downloadotp-af48b10b5d8628ecec95643dfec297b30d3b7810.tar.gz
otp-af48b10b5d8628ecec95643dfec297b30d3b7810.tar.bz2
otp-af48b10b5d8628ecec95643dfec297b30d3b7810.zip
kernel: fix documentation regarding ensure_all_started endtag
Diffstat (limited to 'lib')
-rw-r--r--lib/kernel/doc/src/application.xml14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/kernel/doc/src/application.xml b/lib/kernel/doc/src/application.xml
index 9c83a9af11..3909b11e59 100644
--- a/lib/kernel/doc/src/application.xml
+++ b/lib/kernel/doc/src/application.xml
@@ -253,15 +253,15 @@ Nodes = [cp1@cave, {cp2@cave, cp3@cave}]</code>
</warning>
</desc>
</func>
- <func>
+ <func>
<name name="ensure_started" arity="1"/>
<name name="ensure_started" arity="2"/>
<fsummary>Load and start an application</fsummary>
- <desc>
- <p>Equivalent to <seealso marker="#start/2"><c>application:start/1,2</c></seealso> except
- it returns <c>ok</c> for already started applications.</p>
- </desc>
- </func>
+ <desc>
+ <p>Equivalent to <seealso marker="#start/2"><c>application:start/1,2</c></seealso> except
+ it returns <c>ok</c> for already started applications.</p>
+ </desc>
+ </func>
<func>
<name name="ensure_all_started" arity="1"/>
<name name="ensure_all_started" arity="2"/>
@@ -272,7 +272,7 @@ Nodes = [cp1@cave, {cp2@cave, cp3@cave}]</code>
The function returns <c>{ok, AppNames}</c> for a successful start or for an already started
application (which are however omitted from the <c>AppNames</c> list), and reports
<c>{error, {AppName,Reason}}</c> for errors, where <c>Reason</c> is any possible reason
- returned by <seealso marker="#start/2"><c>application:start/1,2</c> when starting a
+ returned by <seealso marker="#start/2"><c>application:start/1,2</c></seealso> when starting a
specific dependency. In case of an error, the applications that were started by the
function are stopped to bring the set of running applications back to its initial state.</p>
</desc>