summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2016-11-01 22:09:05 +0100
committerGitHub <noreply@github.com>2016-11-01 22:09:05 +0100
commit9a1c87d6bf35cd13b2e635e6a4e1136ffc1be69f (patch)
tree84b6429b40af228fcf2b5d2ef1c55faa5fac3b65 /lib
parent5a0b3280ae53d19ac5742d0e8cac561602ddde46 (diff)
parent9bc79b923ce1942fec7fdcf7e384f5a43fc48e1b (diff)
downloadNim-9a1c87d6bf35cd13b2e635e6a4e1136ffc1be69f.tar.gz
Merge pull request #4985 from vlad1777d/patch-1
added description to fmWrite mode to be more exact
Diffstat (limited to 'lib')
-rw-r--r--lib/system.nim2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/system.nim b/lib/system.nim
index d938e59bc..9547673a5 100644
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -2629,6 +2629,8 @@ when not defined(JS): #and not defined(nimscript):
     FileMode* = enum           ## The file mode when opening a file.
       fmRead,                   ## Open the file for read access only.
       fmWrite,                  ## Open the file for write access only.
+                                ## If the file does not exist, it will be
+                                ## created.
       fmReadWrite,              ## Open the file for read and write access.
                                 ## If the file does not exist, it will be
                                 ## created.