-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Documented some cli options #3447
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
Conversation
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.
LGTM
Curious since we're documenting them. When I run |
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.
Notice all the other options were in alphabetical order? Think these should be as well. Pedantic, I know...
Separate discussion on Node cmdline options from another PR. |
The other three options are |
Perusing PR #3423, @boneskull mentions "Mocha never had an exhaustive list of hardcoded flags." here. Unsure of his go-forward plans (now that nodejs/node#19335 has been merged), but predict some related cleanup on Mocha's Node cmd-line option processing. |
Mocha doesn't support Thanks, but I think I'd rather go in the direction of documenting Mocha-specific CLI options, then displaying something like "all flags for |
That was cool. |
Requirements
Description of the Change
Some options didn't show description after execution
mocha --help
, like--max-old-space-size
,--experimental-modules
,--gc-global
,--allow-natives-syntax
.so these commits documented
--max-old-space-size
,--experimental-modules
,--gc-global
,--allow-natives-syntax
cli options to_mocha
file and docindex.md
file.Alternate Designs
Do Noting.
Why should this be in core?
Maybe not.
Benefits
Show command options help.
Possible Drawbacks
I'm not sure.
Applicable issues
Can't not find.