From: Rafael Cepeda Date: Thu, 18 Feb 2016 17:56:05 +0000 (-0600) Subject: doc: add missing property in cluster example X-Git-Tag: v4.4.1~78 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d4cfc6f97cf8202de3287699a671882133d6b174;p=platform%2Fupstream%2Fnodejs.git doc: add missing property in cluster example `Cluster.setupMaster(options)` Options object was missing an `args` property on the example. PR-URL: https://github.com/nodejs/node/pull/5305 Reviewed-By: James M Snell Reviewed-By: Roman Reiss --- diff --git a/doc/api/cluster.markdown b/doc/api/cluster.markdown index 215e48b..186beb9 100644 --- a/doc/api/cluster.markdown +++ b/doc/api/cluster.markdown @@ -624,6 +624,7 @@ cluster.setupMaster({ }); cluster.fork(); // https worker cluster.setupMaster({ + exec: 'worker.js', args: ['--use', 'http'] }); cluster.fork(); // http worker