aboutsummaryrefslogtreecommitdiffstats
path: root/erts/preloaded
diff options
context:
space:
mode:
authorXavier Noria <[email protected]>2018-01-23 11:47:58 +0100
committerXavier Noria <[email protected]>2018-02-02 09:02:08 +0100
commit2ab931cec15917e1297aafce350439c8daa7a726 (patch)
treef1e5c320a329612633cb971056269d1b0d7ee1a7 /erts/preloaded
parent18d9afbd5c62bb7b7237fe0d580fc05737a096c1 (diff)
downloadotp-2ab931cec15917e1297aafce350439c8daa7a726.tar.gz
otp-2ab931cec15917e1297aafce350439c8daa7a726.tar.bz2
otp-2ab931cec15917e1297aafce350439c8daa7a726.zip
Reword docs related to the runtime system mode
The existing wording may be interpreted as saying that embedded mode eager loads all modules. This revision makes clear embedded mode only disables module auto loading. Since I was on it, I have reordered a couple of places to describe interactive first, and then embedded. It feels natural to cover first the default and positive mode (auto loads), and then its negation.
Diffstat (limited to 'erts/preloaded')
-rw-r--r--erts/preloaded/src/init.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/preloaded/src/init.erl b/erts/preloaded/src/init.erl
index 679a2241d2..e0ae6b1656 100644
--- a/erts/preloaded/src/init.erl
+++ b/erts/preloaded/src/init.erl
@@ -32,8 +32,8 @@
%% (Optional - default efile)
%% -hosts [Node] : List of hosts from which we can boot.
%% (Mandatory if -loader inet)
-%% -mode embedded : Load all modules at startup, no automatic loading
-%% -mode interactive : Auto load modules (default system behaviour).
+%% -mode interactive : Auto load modules not needed at startup (default system behaviour).
+%% -mode embedded : Load all modules in the boot script, disable auto loading.
%% -path : Override path in bootfile.
%% -pa Path+ : Add my own paths first.
%% -pz Path+ : Add my own paths last.