Fix spellings (#12277) [backport]

This commit is contained in:
Federico Ceratto 2019-09-27 06:02:54 +01:00 • committed by Andreas Rumpf
commit 39290cf88c
110 changed files with 166 additions and 166 deletions

View file

@ -382,7 +382,7 @@ iterator parentDirs*(path: string, fromRoot=false, inclusive=true): string =
## Walks over all parent directories of a given `path`.
##
## If `fromRoot` is true (default: false), the traversal will start from
## the file system root diretory.
## the file system root directory.
## If `inclusive` is true (default), the original argument will be included
## in the traversal.
##
@ -781,7 +781,7 @@ proc getTempDir*(): string {.rtl, extern: "nos$1",
## **Please do not use this**: On Android, it currently
## returns ``getHomeDir()``, and on other Unix based systems it can cause
## security problems too. That said, you can override this implementation
## by adding ``-d:tempDir=mytempname`` to your compiler invokation.
## by adding ``-d:tempDir=mytempname`` to your compiler invocation.
##
## See also:
## * `getHomeDir proc <#getHomeDir>`_
@ -1868,7 +1868,7 @@ type
proc getCurrentCompilerExe*(): string {.compileTime.} = discard
## This is `getAppFilename() <#getAppFilename>`_ at compile time.
##
## Can be used to retrive the currently executing
## Can be used to retrieve the currently executing
## Nim compiler from a Nim or nimscript program, or the nimble binary
## inside a nimble program (likewise with other binaries built from
## compiler API).
@ -2475,7 +2475,7 @@ when defined(nimdoc):
##
## Unlike `argc`:idx: in C, if your binary was called without parameters this
## will return zero.
## You can query each individual paramater with `paramStr proc <#paramStr,int>`_
## You can query each individual parameter with `paramStr proc <#paramStr,int>`_
## or retrieve all of them in one go with `commandLineParams proc
## <#commandLineParams>`_.
##