Skip to content
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

src: document newer values for --unhandled-rejections flag #37899

Merged
merged 1 commit into from Mar 28, 2021

Conversation

glasser
Copy link
Contributor

@glasser glasser commented Mar 24, 2021

These values were added in v15.0.0 by #33475 but were not included in the
node --help output.

Also document which value is the default.

Fixes: #37896

@nodejs-github-bot nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. needs-ci PRs that need a full CI run. labels Mar 24, 2021
src/node_options.cc Outdated Show resolved Hide resolved
@glasser
Copy link
Contributor Author

glasser commented Mar 25, 2021

I can make that change though for consistency with the rest of the options it would be better as (default: throw). (Also the default is throw not unhandledRejection.)

@glasser
Copy link
Contributor Author

glasser commented Mar 25, 2021

Updated to put the default at the end. It uses a similar styling to other entries, though I don't see other entries that have another parenthesized thing right before the (default:; I put a period in between which seems a bit better.

@aduh95 aduh95 added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. and removed needs-ci PRs that need a full CI run. labels Mar 25, 2021
@glasser
Copy link
Contributor Author

glasser commented Mar 25, 2021

By the way, I noticed that the indentation of wrapped help text looks strange and have filed #37911 to resolve.

@nodejs-github-bot
Copy link
Collaborator

These values were added in v15.0.0 by nodejs#33475 but were not included in
the `node --help` output.

Also documents which value is the default.

PR-URL: nodejs#37899
Fixes: nodejs#37896
Refs: nodejs#33475
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
@aduh95
Copy link
Contributor

aduh95 commented Mar 28, 2021

Landed in ce6d756

@aduh95 aduh95 merged commit ce6d756 into nodejs:master Mar 28, 2021
ruyadorno pushed a commit that referenced this pull request Mar 29, 2021
These values were added in v15.0.0 by #33475 but were not included in
the `node --help` output.

Also documents which value is the default.

PR-URL: #37899
Fixes: #37896
Refs: #33475
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
ruyadorno pushed a commit that referenced this pull request Mar 30, 2021
These values were added in v15.0.0 by #33475 but were not included in
the `node --help` output.

Also documents which value is the default.

PR-URL: #37899
Fixes: #37896
Refs: #33475
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
@ruyadorno ruyadorno mentioned this pull request Mar 30, 2021
targos pushed a commit that referenced this pull request May 1, 2021
These values were added in v15.0.0 by #33475 but were not included in
the `node --help` output.

Also documents which value is the default.

PR-URL: #37899
Fixes: #37896
Refs: #33475
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
@danielleadams danielleadams mentioned this pull request May 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready PRs that have at least one approval, no pending requests for changes, and a CI started. c++ Issues and PRs that require attention from people who are familiar with C++.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Values for --unhandled-rejection flag added in v15 are not in --help (and default value is not indicated)
6 participants