summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--changelog.md2
-rw-r--r--lib/pure/parseopt2.nim1
2 files changed, 3 insertions, 0 deletions
diff --git a/changelog.md b/changelog.md
index 1cd22c4da..955648c20 100644
--- a/changelog.md
+++ b/changelog.md
@@ -215,6 +215,8 @@ styledEcho "Red on Green.", resetStyle
 - ``db_mysql`` module: ``DbConn`` is now a ``distinct`` type that doesn't expose the
   details of the underlying ``PMySQL`` type.
 
+- ``parseopt2`` is now deprecated, use ``parseopt`` instead.
+
 ### Language additions
 
 - It is now possible to forward declare object types so that mutually
diff --git a/lib/pure/parseopt2.nim b/lib/pure/parseopt2.nim
index a2ff9bf0c..2b63663eb 100644
--- a/lib/pure/parseopt2.nim
+++ b/lib/pure/parseopt2.nim
@@ -17,6 +17,7 @@
 ## 2. long option - ``--foo:bar``, ``--foo=bar`` or ``--foo``
 ## 3. argument - everything else
 
+{.deprecated.}
 {.push debugger: off.}
 
 include "system/inclrtl"