-
Notifications
You must be signed in to change notification settings - Fork 224
Clean up --help #1331
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
Clean up --help #1331
Conversation
| parser.addFlag('verbose-trace', | ||
| negatable: false, | ||
| help: 'Whether to emit stack traces with core library frames.'); | ||
| negatable: false, help: 'Emit stack traces with core library frames.'); |
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.
Do you know why this isn't negatable? This came up on the doc.
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.
I found the PR that added the flag: b61a536
Doesn't have a reason though.
| @@ -1,5 +1,5 @@ | |||
| name: test | |||
| version: 1.16.0-nullsafety.2 | |||
| version: 1.16.0-nullsafety.3 | |||
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.
I assume this means that users won't see the help text changes until they're using a null safe version of package:test?
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.
That I don't know. @natebosch
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.
That is correct, but using a null safe compatible version of package:test does not require that the user migrates to null safety.
Clean up
--helpto better align with other commands captured in Dart CLI.Closes #1330