-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc: note that v8 options work with both dashes and underscores #6532
doc: note that v8 options work with both dashes and underscores #6532
Conversation
@@ -111,6 +111,9 @@ Process v8 profiler output generated using the v8 option `--prof`. | |||
|
|||
Print v8 command line options. | |||
|
|||
Note: v8 options allow words to be separated by both dashes (`-`) or underscores (`_`). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
linewrap
TIL, LGTM minus the line wrap. |
d698f28
to
6145681
Compare
@benjamingr & @jasnell lgty? |
Yea, go right ahead :) |
Note: v8 options allow words to be separated by both dashes (`-`) or underscores | ||
(`_`). | ||
|
||
For example, `--stack-trace-limit` is equivalent to `--stack_trace_limit`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: it's likely not worth noting but --stack-trace_limit
and --stack_trace-limit
are also equivalent.
Looks fine. |
This adds docs to the man page and online cli docs that v8 options can be used with either dashes or underscores. Refs: nodejs#6377 (comment) PR-URL: nodejs#6532 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: James M Snell <[email protected]>
PR-URL: nodejs#6532 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: James M Snell <[email protected]>
6145681
to
4b107d0
Compare
This adds docs to the man page and online cli docs that v8 options can be used with either dashes or underscores. Refs: #6377 (comment) PR-URL: #6532 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: James M Snell <[email protected]>
PR-URL: #6532 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: James M Snell <[email protected]>
Checklist
Affected core subsystem(s)
doc
Description of change
see #6377 (comment)
This adds docs to the man page and online cli docs that v8 options can be used with either.
r=@nodejs/documentation