Skip to content

Conversation

@glasser
Copy link
Contributor

@glasserglasser 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-botnodejs-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
@glasser
Copy link
ContributorAuthor

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.)

@glasserglasserforce-pushed the unhandled-rejections-help branch from b189d4d to ef5f429CompareMarch 25, 2021 14:16
@glasser
Copy link
ContributorAuthor

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.

@aduh95aduh95 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
ContributorAuthor

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#37899Fixes: nodejs#37896 Refs: nodejs#33475 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: James M Snell <[email protected]>
@aduh95aduh95force-pushed the unhandled-rejections-help branch from ef5f429 to ce6d756CompareMarch 28, 2021 17:26
@aduh95
Copy link
Contributor

Landed in ce6d756

@aduh95aduh95 merged commit ce6d756 into nodejs:masterMar 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: #37899Fixes: #37896 Refs: #33475 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: James M Snell <[email protected]>
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: #37899Fixes: #37896 Refs: #33475 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: James M Snell <[email protected]>
@ruyadornoruyadorno 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: #37899Fixes: #37896 Refs: #33475 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: James M Snell <[email protected]>
@danielleadamsdanielleadams mentioned this pull request May 3, 2021
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs 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

@glasser@nodejs-github-bot@aduh95@jasnell@addaleax@RaisinTen