From d4cfc6f97cf8202de3287699a671882133d6b174 Mon Sep 17 00:00:00 2001 From: Rafael Cepeda Date: Thu, 18 Feb 2016 11:56:05 -0600 Subject: [PATCH] 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 --- doc/api/cluster.markdown | 1 + 1 file changed, 1 insertion(+) 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 -- 2.7.4