summary refs log tree commit diff stats
path: root/lib/system.nim
diff options
context:
space:
mode:
authorVladislav <naumovvladislav@mail.ru>2016-11-01 22:33:09 +0200
committerGitHub <noreply@github.com>2016-11-01 22:33:09 +0200
commit9bc79b923ce1942fec7fdcf7e384f5a43fc48e1b (patch)
tree84b6429b40af228fcf2b5d2ef1c55faa5fac3b65 /lib/system.nim
parent5a0b3280ae53d19ac5742d0e8cac561602ddde46 (diff)
downloadNim-9bc79b923ce1942fec7fdcf7e384f5a43fc48e1b.tar.gz
added description to fmWrite mode to be more exact
Diffstat (limited to 'lib/system.nim')
-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.