Skip to content

Commit 3fb53ee

Browse files
committed
Document 'not_globals' option
1 parent ecbfdb4 commit 3fb53ee

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

docsrc/cli.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ Option Meaning
8888
``--read-globals [<global>] ...`` Add read-only globals.
8989
``--new-globals [<global>] ...`` Set custom globals. Removes custom globals added previously.
9090
``--new-read-globals [<global>] ...`` Set read-only globals. Removes read-only globals added previously.
91+
``--not-globals [<global>] ...`` Remove custom and standard globals.
9192
``-c | --compat`` Equivalent to ``--std max``.
9293
``-d | --allow-defined`` Allow defining globals implicitly by setting them.
9394

docsrc/config.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ Option Type Default value
3131
``new_globals`` Array of strings (Do not overwrite)
3232
``read_globals`` Array of strings ``{}``
3333
``new_read_globals`` Array of strings (Do not overwrite)
34+
``not_globals`` Array of strings ``{}``
3435
``compat`` Boolean ``false``
3536
``allow_defined`` Boolean ``false``
3637
``allow_defined_top`` Boolean ``false``

docsrc/inline.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ globals 0+
2121
new globals 0+
2222
read globals 0+
2323
new read globals 0+
24+
not globals 0+
2425
ignore 0+ (without arguments everything is ignored)
2526
enable 1+
2627
only 1+

0 commit comments

Comments
 (0)