From ecf6e79362faad747f50405d7f36a5d5006c3e97 Mon Sep 17 00:00:00 2001 From: Gibson Fahnestock Date: Thu, 28 Dec 2017 13:29:36 +0200 Subject: doc: remove x86 from os.arch() options It is not possible for `process.arch` (which comes from V8's `target_arch`) to be `x86`. Also updates `process.arch` to have the same information. PR-URL: https://github.com/nodejs/node/pull/17899 Reviewed-By: Ben Noordhuis Reviewed-By: Luigi Pinca Reviewed-By: Anatoli Papirovski Reviewed-By: James M Snell Reviewed-By: Colin Ihrig Reviewed-By: Tiancheng "Timothy" Gu Reviewed-By: Daniel Bevenius --- doc/api/os.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'doc/api/os.md') diff --git a/doc/api/os.md b/doc/api/os.md index e77238021c..bb25c3f6cc 100644 --- a/doc/api/os.md +++ b/doc/api/os.md @@ -31,11 +31,10 @@ added: v0.5.0 * Returns: {string} The `os.arch()` method returns a string identifying the operating system CPU -architecture *for which the Node.js binary was compiled*. +architecture for which the Node.js binary was compiled. The current possible values are: `'arm'`, `'arm64'`, `'ia32'`, `'mips'`, -`'mipsel'`, `'ppc'`, `'ppc64'`, `'s390'`, `'s390x'`, `'x32'`, `'x64'`, and -`'x86'`. +`'mipsel'`, `'ppc'`, `'ppc64'`, `'s390'`, `'s390x'`, `'x32'`, and `'x64'`. Equivalent to [`process.arch`][]. -- cgit v1.2.3