Skip to content

Commit 0542b34

Browse files
authored
feat: update forbidden and allowed help message (#857)
1 parent 7507826 commit 0542b34

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/src/commands/packages/commands/check/commands/licenses.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,11 @@ class PackagesCheckLicensesCommand extends Command<int> {
6060
)
6161
..addMultiOption(
6262
'allowed',
63-
help: 'Whitelist of allowed licenses.',
63+
help: 'Only allow the use of certain licenses.',
6464
)
6565
..addMultiOption(
6666
'forbidden',
67-
help: 'Blacklist of not allowed licenses.',
67+
help: 'Deny the use of certain licenses.',
6868
);
6969
}
7070

test/src/commands/packages/commands/check/commands/licenses_test.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ const _expectedPackagesCheckLicensesUsage = [
2525
''' [direct-main] (default) Check for direct main dependencies.\n'''
2626
''' [transitive] Check for transitive dependencies.\n'''
2727
'\n'
28-
' --allowed Whitelist of allowed licenses.\n'
29-
''' --forbidden Blacklist of not allowed licenses.\n'''
28+
''' --allowed Only allow the use of certain licenses.\n'''
29+
''' --forbidden Deny the use of certain licenses.\n'''
3030
'\n'
3131
'Run "very_good help" to see global options.'
3232
];

0 commit comments

Comments
 (0)