diff options
author | Araq <rumpf_a@web.de> | 2015-03-02 01:03:15 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2015-03-03 13:53:31 +0100 |
commit | 21ccc5d58e608b8e239933b7fbc3a782e1ad2d8c (patch) | |
tree | 2daad59a37c174fc798a40920b17562c53105dcc /lib | |
parent | f4e0f64f8648dc0dc56f91982b95ae3ff0466539 (diff) | |
download | Nim-21ccc5d58e608b8e239933b7fbc3a782e1ad2d8c.tar.gz |
parseopt is not deprecated anymore
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pure/parseopt.nim | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/pure/parseopt.nim b/lib/pure/parseopt.nim index b1e2444c3..4c92a7cdf 100644 --- a/lib/pure/parseopt.nim +++ b/lib/pure/parseopt.nim @@ -11,9 +11,12 @@ ## It supports one convenience iterator over all command line options and some ## lower-level features. ## -## **Deprecated since version 0.9.3:** Use the `parseopt2 <parseopt2.html>`_ -## module instead as this version has issues with spaces in arguments. -{.deprecated.} +## Supported syntax: +## +## 1. short options - ``-abcd``, where a, b, c, d are names +## 2. long option - ``--foo:bar``, ``--foo=bar`` or ``--foo`` +## 3. argument - everything else + {.push debugger: off.} include "system/inclrtl" |