Skip to content

Commit

Permalink
deprecate parseopt2 stdlib module
Browse files Browse the repository at this point in the history
  • Loading branch information
Araq committed Feb 28, 2018
1 parent 99ae926 commit 51935c4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions lib/pure/parseopt2.nim
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
## 2. long option - ``--foo:bar``, ``--foo=bar`` or ``--foo``
## 3. argument - everything else

{.deprecated.}
{.push debugger: off.}

include "system/inclrtl"
Expand Down

0 comments on commit 51935c4

Please sign in to comment.