From 2924d641ae7a8aa3a5834be82e3bd39740530c4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Szewczak?= Date: Sat, 23 Sep 2017 11:37:34 +0200 Subject: [PATCH] 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 Reviewed-By: Refael Ackermann Reviewed-By: Luigi Pinca Reviewed-By: Gibson Fahnestock Reviewed-By: Ruben Bridgewater Reviewed-By: James M Snell --- doc/api/cli.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/api/cli.md b/doc/api/cli.md index 56c4ea941ca65b..19d9844e03de89 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -49,6 +49,10 @@ added: v0.5.2 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"`