Uh oh!
There was an error while loading. Please reload this page.
doc: improve node.1 manual page - #5497
Conversation
There was a problem hiding this comment.
Maybe I should get a better link?
Fishrock123
commented
Feb 29, 2016
Imo it would be ideal if on on unix systems |
There was a problem hiding this comment.
@indutny How much of this should we list here? I'm not really sure how the debug options work. :/
There was a problem hiding this comment.
Each one is different. And even debug has multiple options:
$ node debug
Usage: node debug script.js
node debug <host>:<port>
node debug -p <pid>
trevnorris
commented
Feb 29, 2016
overall nice changes. though i'm not sure about removal of the v8 flags. only b/c they have "always" been there. but also not sure how many would care if they left. |
trevnorris
commented
Feb 29, 2016
In the man output, first line is showing up like so: Notice there are double spaces between several of those words. |
Fishrock123
commented
Feb 29, 2016
@trevnorris blame |
trevnorris
commented
Feb 29, 2016
This is also missing the debugger environment variables list. e.g. |
trevnorris
commented
Feb 29, 2016
Yup. Must be it. Resizing terminal gives different results. |
jasnell
commented
Mar 2, 2016
Generally LGTM |
benjamingr
commented
Mar 12, 2016
I'm +1 on removing the v8 flags there, it's just one more place to synchronize them in and it already shows how to print them. LGTM. |
Fishrock123
commented
Mar 14, 2016
Updated. Should be about good to land. I've left out anything @benjamingr, @jasnell, @trevnorris ptal |
Fishrock123
commented
Mar 14, 2016
maybe cc @nodejs/documentation ? Although I think this is almost a bit out of the regular documentation domain. |
Fishrock123
commented
Mar 15, 2016
@jasnell Also this intentionally ignores |
jasnell
commented
Mar 15, 2016
+1 ... Yeah --security-revert is not something we want to encourage too
|
Fishrock123
commented
Mar 16, 2016
Anyone else able to review the updated version of this? |
benjamingr
commented
Mar 16, 2016
Sorry, I read this yesterday and forgot to LGTM. LGTM. |
ba1b714 to
f4f52faCompareFishrock123
commented
Mar 16, 2016
Rebased to add |
f4f52fa to
3bca5d3CompareUses better troff formatting. Removes v8 options from the man page. Also edits `node -h` in node.cc slightly. PR-URL: nodejs#5497 Reviewed-By: James Snell <jasnell@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Fishrock123
commented
Mar 16, 2016
Landed in 3bca5d3 |
benjamingr
commented
Mar 16, 2016
Nice Work 👏 |
Uses better troff formatting. Removes v8 options from the man page. Also edits `node -h` in node.cc slightly. PR-URL: nodejs#5497 Reviewed-By: James Snell <jasnell@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Fishrock123
commented
Mar 16, 2016
Actually landed at f9e6191 because I screwed something up |
MylesBorins
commented
Mar 17, 2016
@Fishrock123 is this applicable to LTS? |
jasnell
commented
Mar 17, 2016
hmm.. I can't imagine this breaking anyone but let's hold off on porting to v4 for now. |
Fishrock123
commented
Mar 17, 2016
This should land in LTS but you'll probably need to update to make sure no new options get accidentally added with it. I can do that if needed. |
jasnell
commented
Mar 17, 2016
oh.. heh, yeah, this one is good for LTS. For some reason I was thinking this was the other change you're looking at in terms of having |
MylesBorins
commented
Mar 21, 2016
@Fishrock123 probably best for you to port it. |
Uses better troff formatting. Removes v8 options from the man page. Also edits `node -h` in node.cc slightly. PR-URL: #5497 Reviewed-By: James Snell <jasnell@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Conflicts: doc/node.1
Uses better troff formatting. Removes v8 options from the man page. Also edits `node -h` in node.cc slightly. PR-URL: #5497 Reviewed-By: James Snell <jasnell@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Uses better troff formatting. Removes v8 options from the man page. Also edits `node -h` in node.cc slightly. PR-URL: #5497 Reviewed-By: James Snell <jasnell@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Pull Request check-list
Please make sure to review and check all of these items:
make lint(ccplint)Affected core subsystem(s)
doc,src
Description of change
Edited the man page to use better troff formatting and cover some previously missing options.
Also removed the v8 options from the man page. They really bloat the man page, and don't even belong there. Use
--v8-optionsto see them.