From 9894c026f542fc53ded1add486ee48c9932f2db8 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 1b0aff2424..f510468c89 100644 --- a/doc/api/cluster.markdown +++ b/doc/api/cluster.markdown @@ -642,6 +642,7 @@ cluster.setupMaster({ }); cluster.fork(); // https worker cluster.setupMaster({ + exec: 'worker.js', args: ['--use', 'http'] }); cluster.fork(); // http worker