src: try to open `man 1 node` on Unix for --help
Pull Request check-list
-
Does make -j8 test
(UNIX) orvcbuild test nosign
(Windows) pass with this change (including linting)? -
Is the commit message formatted according to CONTRIBUTING.md?
Affected core subsystem(s)
src,node
Description of change
Make node -h
attempt to open man 1 node
on Unix.
I've seen this in some other programs, and quite frankly the man page is way better than the printed help, since man has syntax formatting and adapts to the terminal's width.
WIP, will fix everything up if people like it. mostly done
cc @nodejs/ctc?