aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sasl/doc/src/appup.xml
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2014-11-06 15:27:42 +0100
committerSiri Hansen <[email protected]>2014-11-06 15:27:42 +0100
commitf53a0875155ce989f57f90541962327a101991cb (patch)
tree08ee86b59abceb52b1731c8780006b75d6831ff4 /lib/sasl/doc/src/appup.xml
parenteeba41c3f9a56948d62de66065851f509ae02b43 (diff)
parenta4290bb363fb6f1c593886d4f10a5868d7c9d3b8 (diff)
downloadotp-f53a0875155ce989f57f90541962327a101991cb.tar.gz
otp-f53a0875155ce989f57f90541962327a101991cb.tar.bz2
otp-f53a0875155ce989f57f90541962327a101991cb.zip
Merge branch 'siri/sasl/delete_module/OTP-11540'
* siri/sasl/delete_module/OTP-11540: [sasl] Remove undocumented upgrade instruction
Diffstat (limited to 'lib/sasl/doc/src/appup.xml')
-rw-r--r--lib/sasl/doc/src/appup.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/sasl/doc/src/appup.xml b/lib/sasl/doc/src/appup.xml
index 95f315d269..f0f41b0c7e 100644
--- a/lib/sasl/doc/src/appup.xml
+++ b/lib/sasl/doc/src/appup.xml
@@ -180,15 +180,28 @@
<c>Mod</c> when upgrading, and vice versa when downgrading.</p>
<pre>
{add_module, Mod}
+{add_module, Mod, DepMods}
Mod = atom()
+ DepMods = [Mod]
</pre>
<p>Loads a new module <c>Mod</c>.</p>
+ <p><c>DepMods</c> defaults to [] and defines which other modules
+ <c>Mod</c> is dependent on. In <c>relup</c>, instructions
+ related to these modules will come before the instruction for
+ loading <c>Mod</c> when upgrading, and vice versa when
+ downgrading.</p>
<pre>
{delete_module, Mod}
+{delete_module, Mod, DepMods}
Mod = atom()
</pre>
<p>Deletes a module <c>Mod</c> using the low-level instructions
<c>remove</c> and <c>purge</c>.</p>
+ <p><c>DepMods</c> defaults to [] and defines which other modules
+ <c>Mod</c> is dependent on. In <c>relup</c>, instructions
+ related to these modules will come before the instruction for
+ removing <c>Mod</c> when upgrading, and vice versa when
+ downgrading.</p>
<pre>
{add_application, Application}
{add_application, Application, Type}