From a6dbe0ff23a8d73cd747de30c426753ae743113a Mon Sep 17 00:00:00 2001 From: koichik Date: Thu, 3 Nov 2011 20:04:22 +0900 Subject: [PATCH] docs: make fs.mkdir()'s mode argument an option. --- doc/api/fs.markdown | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/api/fs.markdown b/doc/api/fs.markdown index f7b09eead2d..6476b25baa5 100644 --- a/doc/api/fs.markdown +++ b/doc/api/fs.markdown @@ -215,12 +215,12 @@ to the completion callback. Synchronous rmdir(2). -### fs.mkdir(path, mode, [callback]) +### fs.mkdir(path, [mode], [callback]) Asynchronous mkdir(2). No arguments other than a possible exception are given -to the completion callback. +to the completion callback. `mode` defaults to `0777`. -### fs.mkdirSync(path, mode) +### fs.mkdirSync(path, [mode]) Synchronous mkdir(2).