diff options
author | Ćukasz Szewczak <lukaszewczak@gmail.com> | 2017-09-23 11:37:34 +0200 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2017-09-25 13:51:47 -0700 |
commit | 7e382c15404cdb89240bfbd0ed59f01e91399095 (patch) | |
tree | f1f3387c660756bc7f0c93e066645796af315318 /doc/api | |
parent | c705f1067c4ed032184734a5d6185a4f5aa25abf (diff) | |
download | node-new-7e382c15404cdb89240bfbd0ed59f01e91399095.tar.gz |
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/api')
-rw-r--r-- | doc/api/cli.md | 4 |
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 |