diff options
Diffstat (limited to 'erts/doc/src/erlc_cmd.xml')
-rw-r--r-- | erts/doc/src/erlc_cmd.xml | 45 |
1 files changed, 43 insertions, 2 deletions
diff --git a/erts/doc/src/erlc_cmd.xml b/erts/doc/src/erlc_cmd.xml index 98042d49b7..5274e9b322 100644 --- a/erts/doc/src/erlc_cmd.xml +++ b/erts/doc/src/erlc_cmd.xml @@ -4,7 +4,7 @@ <comref> <header> <copyright> - <year>1997</year><year>2020</year> + <year>1997</year><year>2022</year> <holder>Ericsson AB. All Rights Reserved.</holder> </copyright> <legalnotice> @@ -142,6 +142,47 @@ <p>Use the <seecom marker="#compile_server">compile server</seecom>.</p> </item> + <tag> + <marker id="enable-feature"/> + <c>-enable-feature <Feature></c> + </tag> + <item> + <p>Enables the + <seeguide + marker="system/reference_manual:features#features">feature</seeguide> <c>feature</c> + during compilation. The special feature <c>all</c> can be + used to enable all features. + </p> + </item> + <tag> + <marker id="disable-feature"/> + <c>-disable-feature <feature></c> + </tag> + <item> + <p>Disables the + <seeguide + marker="system/reference_manual:features#features">feature</seeguide> <c>feature</c> + during compilation. The special feature <c>all</c> can be + used to disable all non permanent features. + </p> + </item> + <tag><c>-list-features</c></tag> + <item> + <p><marker id="list-features"/> List short descriptions of the + current configurable <seeguide + marker="system/reference_manual:features#features">features</seeguide>. + Non configurable features, i.e., those with a status of + <c>rejected</c> or <c>permanent</c> will not be shown. + </p> + </item> + <tag><c>-describe-feature <feature></c></tag> + <item> + <p><marker id="describe-feature"/> + Show long description and history of + <seeguide + marker="system/reference_manual:features#features">feature</seeguide> <c>feature</c>. + </p> + </item> <tag><c>-M</c></tag> <item> <p>Produces a Makefile rule to track header dependencies. The @@ -326,7 +367,7 @@ erlc +export_all file.erl</pre> <p>Using the compile server does not always speed up the build, as the compile server sometimes must be restarted to ensure correctness. - Here are some examples of situtations that force a restart:</p> + Here are some examples of situations that force a restart:</p> <list type="bulleted"> <item><c>erlc</c> wants to use a different version of Erlang |