diff options
Diffstat (limited to 'lib/deprecated')
-rw-r--r-- | lib/deprecated/pure/events.nim | 2 | ||||
-rw-r--r-- | lib/deprecated/pure/ospaths.nim | 2 | ||||
-rw-r--r-- | lib/deprecated/pure/parseopt2.nim | 12 | ||||
-rw-r--r-- | lib/deprecated/pure/securehash.nim | 2 |
4 files changed, 9 insertions, 9 deletions
diff --git a/lib/deprecated/pure/events.nim b/lib/deprecated/pure/events.nim index d2a8dd085..218cb45d5 100644 --- a/lib/deprecated/pure/events.nim +++ b/lib/deprecated/pure/events.nim @@ -12,7 +12,7 @@ ## Unstable API. ## ## This module implements an event system that is not dependent on external -## graphical toolkits. It was originally called ``NimEE`` because +## graphical toolkits. It was originally called `NimEE` because ## it was inspired by Python's PyEE module. There are two ways you can use ## events: one is a python-inspired way; the other is more of a C-style way. ## diff --git a/lib/deprecated/pure/ospaths.nim b/lib/deprecated/pure/ospaths.nim index 34d452fd2..6c7fe4fb3 100644 --- a/lib/deprecated/pure/ospaths.nim +++ b/lib/deprecated/pure/ospaths.nim @@ -7,7 +7,7 @@ # distribution, for details about the copyright. # -## This module is deprecated, ``import os`` instead. +## This module is deprecated, `import os` instead. {.deprecated: "import os.nim instead".} import os diff --git a/lib/deprecated/pure/parseopt2.nim b/lib/deprecated/pure/parseopt2.nim index fe73d85a0..a6d5de06d 100644 --- a/lib/deprecated/pure/parseopt2.nim +++ b/lib/deprecated/pure/parseopt2.nim @@ -13,8 +13,8 @@ ## ## Supported syntax: ## -## 1. short options - ``-abcd``, where a, b, c, d are names -## 2. long option - ``--foo:bar``, ``--foo=bar`` or ``--foo`` +## 1. short options - `-abcd`, where a, b, c, d are names +## 2. long option - `--foo:bar`, `--foo=bar` or `--foo` ## 3. argument - everything else {.deprecated: "Use the 'parseopt' module instead".} @@ -29,16 +29,16 @@ type CmdLineKind* = enum ## the detected command line token cmdEnd, ## end of command line reached cmdArgument, ## argument detected - cmdLongOption, ## a long option ``--option`` detected - cmdShortOption ## a short option ``-c`` detected + cmdLongOption, ## a long option `--option` detected + cmdShortOption ## a short option `-c` detected OptParser* = object of RootObj ## this object implements the command line parser cmd: seq[string] pos: int remainingShortOptions: string kind*: CmdLineKind ## the detected command line token - key*, val*: string ## key and value pair; ``key`` is the option - ## or the argument, ``value`` is not "" if + key*, val*: string ## key and value pair; `key` is the option + ## or the argument, `value` is not "" if ## the option was given a value proc initOptParser*(cmdline: seq[string]): OptParser {.rtl.} = diff --git a/lib/deprecated/pure/securehash.nim b/lib/deprecated/pure/securehash.nim index c6cde599a..2f4530d88 100644 --- a/lib/deprecated/pure/securehash.nim +++ b/lib/deprecated/pure/securehash.nim @@ -1,6 +1,6 @@ -## This module is a deprecated alias for the ``sha1`` module. +## This module is a deprecated alias for the `sha1` module. {.deprecated.} include "../std/sha1" |