Skip to content

Commit 323edfa

Browse files
lukaszewczakMylesBorins
authored andcommitted
docs: clarify usage cli options -e,-p on windows
PR-URL: #15568 Fixes: #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>
1 parent 81236d9 commit 323edfa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc/api/cli.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ added: v0.5.2
4949
Evaluate the following argument as JavaScript. The modules which are
5050
predefined in the REPL can also be used in `script`.
5151

52+
*Note*: On Windows, using `cmd.exe` a single quote will not work correctly
53+
because it only recognizes double `"` for quoting. In Powershell or
54+
Git bash, both `'` and `"` are usable.
55+
5256

5357
### `-p`, `--print "script"`
5458
<!-- YAML

0 commit comments

Comments
 (0)