Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEbrahim Byagowi <ebrahim@gnu.org>2017-05-13 10:58:18 +0300
committerAnna Henningsen <anna@addaleax.net>2017-05-23 21:41:13 +0300
commit594b5d7b8970a68d9cd66f629cf1862cfca68412 (patch)
treed0e48763b3669226db99d2c902074dde21d10648 /doc/api/synopsis.md
parent7a1dc1fba30eb6e883235d98aac144b39b97cf1b (diff)
cmd: support dash as stdin alias
PR-URL: https://github.com/nodejs/node/pull/13012 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Diffstat (limited to 'doc/api/synopsis.md')
-rw-r--r--doc/api/synopsis.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/synopsis.md b/doc/api/synopsis.md
index 5e4e22a38b9..e8fa77eee47 100644
--- a/doc/api/synopsis.md
+++ b/doc/api/synopsis.md
@@ -2,7 +2,7 @@
<!--type=misc-->
-`node [options] [v8 options] [script.js | -e "script"] [arguments]`
+`node [options] [v8 options] [script.js | -e "script" | - ] [arguments]`
Please see the [Command Line Options][] document for information about
different options and ways to run scripts with Node.js.