| commit | 370575258503ca4cb11d6449e82a1c4fd7c2777f | [log] [tgz] |
|---|---|---|
| author | Jonas Finnemann Jensen <jonasfj@google.com> | Fri Sep 17 11:50:16 2021 +0200 |
| committer | GitHub <noreply@github.com> | Fri Sep 17 11:50:16 2021 +0200 |
| tree | 5c7d8f74b53a247865bd3723537602af97f4d243 | |
| parent | f9f6a594f32ba135704510d966785021a2f3ecff [diff] |
Do not allow: dart pub token remove --no-all (#3116)
diff --git a/lib/src/command/token_remove.dart b/lib/src/command/token_remove.dart index 5db8d51..7c49a0d 100644 --- a/lib/src/command/token_remove.dart +++ b/lib/src/command/token_remove.dart
@@ -23,7 +23,11 @@ bool get isAll => argResults['all']; TokenRemoveCommand() { - argParser.addFlag('all', help: 'Remove all secret tokens.'); + argParser.addFlag( + 'all', + negatable: false, + help: 'Remove all secret tokens.', + ); } @override