Skip to content

Commit 760fcc9

Browse files
committed
erts: Remove +R from documentation
The +R flag has not been used since 2012, so we remove it from the docs but keep it in the code in case we ever need to use it again in the future.
1 parent 2b8d9e9 commit 760fcc9

File tree

2 files changed

+2
-18
lines changed

2 files changed

+2
-18
lines changed

erts/doc/references/erl_cmd.md

+2-17
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,14 @@ arguments_:
6565
_Examples:_
6666

6767
```erlang
68-
% erl +W w -sname arnie +R 9 -s my_init -extra +bertie
68+
% erl +W w -sname arnie +S 2 -s my_init -extra +bertie
6969
(arnie@host)1> init:get_argument(sname).
7070
{ok,[["arnie"]]}
7171
(arnie@host)2> init:get_plain_arguments().
7272
["+bertie"]
7373
```
7474

75-
Here `+W w` and `+R 9` are emulator flags. `-s my_init` is an init flag,
75+
Here `+W w` and `+S 2` are emulator flags. `-s my_init` is an init flag,
7676
interpreted by `init`. `-sname arnie` is a user flag, stored by `init`. It is
7777
read by Kernel and causes the Erlang runtime system to become distributed.
7878
Finally, everything after `-extra` (that is, `+bertie`) is considered as plain
@@ -856,21 +856,6 @@ behavior of earlier flags.
856856
On Windows the default value is set to `8196` because the normal OS
857857
limitations are set higher than most machines can handle.
858858

859-
- **`+R ReleaseNumber`{: #compat_rel }** - Sets the compatibility mode.
860-
861-
The distribution mechanism is not backward compatible by default. This flag
862-
sets the emulator in compatibility mode with an earlier Erlang/OTP release
863-
`ReleaseNumber`. The release number must be in the range
864-
`<current release>-2` through `<current release>`. This limits the emulator,
865-
making it possible for it to communicate with Erlang nodes (as well as C
866-
and Java nodes) running that earlier release.
867-
868-
> #### Note {: .info }
869-
>
870-
> Ensure that all nodes (Erlang-, C-, and Java nodes) of a distributed Erlang
871-
> system is of the same Erlang/OTP release, or from two different Erlang/OTP
872-
> releases X and Y, where _all_ Y nodes have compatibility mode X.
873-
874859
- **`+r`** - Forces ETS memory blocks to be moved on reallocation.
875860

876861
- **`+rg ReaderGroupsLimit`{: #+rg }** - Limits the number of reader groups used

erts/etc/common/erlexec.c

-1
Original file line numberDiff line numberDiff line change
@@ -1279,7 +1279,6 @@ usage_aux(void)
12791279
"[+C MODE] [+dcg DECENTRALIZED_COUNTER_GROUPS_LIMIT] [+h HEAP_SIZE_OPTION] "
12801280
"[+J[Pperf|Msingle] JIT_OPTION] "
12811281
"[+M<SUBSWITCH> <ARGUMENT>] [+P MAX_PROCS] [+Q MAX_PORTS] "
1282-
"[+R COMPAT_REL] "
12831282
"[+r] [+rg READER_GROUPS_LIMIT] [+s<SUBSWITCH> SCHEDULER_OPTION] "
12841283
"[+S NO_SCHEDULERS:NO_SCHEDULERS_ONLINE] "
12851284
"[+SP PERCENTAGE_SCHEDULERS:PERCENTAGE_SCHEDULERS_ONLINE] "

0 commit comments

Comments
 (0)