doc: update parameter name in net.markdown
authorJames M Snell <jasnell@gmail.com>
Fri, 14 Aug 2015 18:43:23 +0000 (11:43 -0700)
committerJames M Snell <jasnell@gmail.com>
Wed, 26 Aug 2015 01:52:09 +0000 (18:52 -0700)
per: https://github.com/joyent/node/pull/7112

originally submitted by @Peekmo

Reviewed By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/2378

doc/api/net.markdown

index e7858dd..f2be29a 100644 (file)
@@ -57,8 +57,8 @@ Use `nc` to connect to a UNIX domain socket server:
 
     nc -U /tmp/echo.sock
 
-## net.connect(options[, connectionListener])
-## net.createConnection(options[, connectionListener])
+## net.connect(options[, connectListener])
+## net.createConnection(options[, connectListener])
 
 A factory function, which returns a new ['net.Socket'](#net_class_net_socket)
 and automatically connects with the supplied `options`.