From 4be9e984486af6e5e25507eb4532243d8da22e4f Mon Sep 17 00:00:00 2001 From: Evan Lucas Date: Wed, 25 Jan 2017 05:19:49 -0600 Subject: [PATCH] doc: make os api doc more consistent This adds a missing Returns to os.arch() as well as a missing added in version to os.constants. PR-URL: https://github.com/nodejs/node/pull/10994 Reviewed-By: Gibson Fahnestock Reviewed-By: Colin Ihrig Reviewed-By: Luigi Pinca Reviewed-By: Jeremiah Senkpiel Reviewed-By: James M Snell --- doc/api/os.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/api/os.md b/doc/api/os.md index bfe20c1bef5c7f..15b84189c91272 100644 --- a/doc/api/os.md +++ b/doc/api/os.md @@ -26,6 +26,8 @@ A string constant defining the operating system-specific end-of-line marker: 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*. @@ -36,6 +38,9 @@ The current possible values are: `'arm'`, `'arm64'`, `'ia32'`, `'mips'`, Equivalent to [`process.arch`][]. ## os.constants + * {Object}