From 8146f2e6077df08ff9db01d400c186dc90df2d61 Mon Sep 17 00:00:00 2001 From: Ivan Torres Date: Fri, 6 Jul 2012 21:36:53 -0700 Subject: [PATCH] doc: clarify fs.symlink and fs.symlinkSync parameters --- doc/api/fs.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/fs.markdown b/doc/api/fs.markdown index 8f801e6ef4..3186a334a6 100644 --- a/doc/api/fs.markdown +++ b/doc/api/fs.markdown @@ -176,7 +176,7 @@ the completion callback. Synchronous link(2). -## fs.symlink(destination, path, [type], [callback]) +## fs.symlink(srcpath, dstpath, [type], [callback]) Asynchronous symlink(2). No arguments other than a possible exception are given to the completion callback. @@ -185,7 +185,7 @@ used on Windows (ignored on other platforms). Note that Windows junction points require the destination path to be absolute. When using `'junction'`, the `destination` argument will automatically be normalized to absolute path. -## fs.symlinkSync(destination, path, [type]) +## fs.symlinkSync(srcpath, dstpath, [type]) Synchronous symlink(2).