Skip to content

Commit e0f5e3a

Browse files
lukaszewczakjasnell
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 02c62df commit e0f5e3a

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
@@ -53,6 +53,10 @@ changes:
5353
Evaluate the following argument as JavaScript. The modules which are
5454
predefined in the REPL can also be used in `script`.
5555

56+
*Note*: On Windows, using `cmd.exe` a single quote will not work correctly
57+
because it only recognizes double `"` for quoting. In Powershell or
58+
Git bash, both `'` and `"` are usable.
59+
5660

5761
### `-p`, `--print "script"`
5862
<!-- YAML

0 commit comments

Comments
 (0)