Skip to content

Commit

Permalink
docs: clarify usage cli options -e,-p on windows
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
lukaszewczak authored and jasnell committed Sep 25, 2017
1 parent c705f10 commit 7e382c1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

1 comment on commit 7e382c1

@Trott
Copy link
Member

@Trott Trott commented on 7e382c1 Sep 26, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jasnell This commit has an invalid subsystem (or at least one that is vastly infrequent compared to the obvious alternative). Our convention is doc rather than docs. Insert usual comment that this is flagged/caught by @evanlucas's core-validate-commit utility. CAN'T RECOMMEND IT ENOUGH!

Please sign in to comment.