docs: clarify usage cli options -e,-p on windows · nodejs/node@323edfa

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