Skip to content

Conversation

@grouma
Copy link
Member

@grouma grouma commented Sep 1, 2020

Clean up --help to better align with other commands captured in Dart CLI.

Closes #1330

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.');
Copy link
Member

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.

Copy link
Member Author

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
Copy link
Contributor

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?

Copy link
Member Author

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

Copy link
Member

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.

@grouma grouma merged commit 79ac9eb into master Sep 2, 2020
@grouma grouma deleted the help-message branch September 2, 2020 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

use the dart.dev/go redirect for the package:test docs

4 participants