From 7311d8be100f9a0032df82bcabd76aba01246449 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Thu, 13 Jun 2024 13:14:28 +0200 Subject: [PATCH] Clarify behaviour of erl_epmd_port --- erts/doc/references/erl_cmd.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/erts/doc/references/erl_cmd.md b/erts/doc/references/erl_cmd.md index 140d87e8fffa..41edffcd2f4d 100644 --- a/erts/doc/references/erl_cmd.md +++ b/erts/doc/references/erl_cmd.md @@ -255,9 +255,11 @@ described in the corresponding application documentation. - **`-epmd_module Module` (init flag)** - Configures the module responsible to communicate to [epmd](epmd_cmd.md). Defaults to `erl_epmd`. -- **`-erl_epmd_port Port` (init flag)** - Configures the port used by erl_epmd - to listen for connection and connect to other nodes. See `m:erl_epmd` for more - details. Defaults to `0`. +- **`-erl_epmd_port Port` (init flag)** - Configures the port used by `erl_epmd` + to listen for connection and connect to other nodes. If this flag is set, + the Erlang VM will boot in distributed mode even if EPMD is not available. + If not set, a port is chosen automatically (equivalent to port `0`). + See `m:erl_epmd` for more details. - **`-eval Expr` (init flag)** - Makes `init` evaluate the expression `Expr`; see `m:init`.