diff options
-rw-r--r-- | lib/system/assertions.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/assertions.nim b/lib/system/assertions.nim index e0110d5c0..cb1f3fd40 100644 --- a/lib/system/assertions.nim +++ b/lib/system/assertions.nim @@ -44,7 +44,7 @@ template assert*(cond: untyped, msg = "") = ## to be caught by unit testing frameworks. ## ## The compiler may not generate any code at all for ``assert`` if it is - ## advised to do so through the ``-d:release`` or ``--assertions:off`` + ## advised to do so through the ``-d:danger`` or ``--assertions:off`` ## `command line switches <nimc.html#compiler-usage-command-line-switches>`_. const expr = astToStr(cond) assertImpl(cond, msg, expr, compileOption("assertions")) |