summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorƁukasz Szewczak <lukaszewczak@gmail.com>2017-09-23 11:37:34 +0200
committerJames M Snell <jasnell@gmail.com>2017-09-25 13:51:47 -0700
commit7e382c15404cdb89240bfbd0ed59f01e91399095 (patch)
treef1f3387c660756bc7f0c93e066645796af315318 /doc
parentc705f1067c4ed032184734a5d6185a4f5aa25abf (diff)
downloadandroid-node-v8-7e382c15404cdb89240bfbd0ed59f01e91399095.tar.gz
android-node-v8-7e382c15404cdb89240bfbd0ed59f01e91399095.tar.bz2
android-node-v8-7e382c15404cdb89240bfbd0ed59f01e91399095.zip
docs: clarify usage cli options -e,-p on windows
PR-URL: https://github.com/nodejs/node/pull/15568 Fixes: https://github.com/nodejs/node/issues/15522 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/cli.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/api/cli.md b/doc/api/cli.md
index b23311281d..b2e5afabca 100644
--- a/doc/api/cli.md
+++ b/doc/api/cli.md
@@ -53,6 +53,10 @@ changes:
Evaluate the following argument as JavaScript. The modules which are
predefined in the REPL can also be used in `script`.
+*Note*: On Windows, using `cmd.exe` a single quote will not work correctly
+because it only recognizes double `"` for quoting. In Powershell or
+Git bash, both `'` and `"` are usable.
+
### `-p`, `--print "script"`
<!-- YAML