Skip to content

Commit db3c8fe

Browse files
committed
Fix lints
1 parent f8f3672 commit db3c8fe

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

pkgs/args/lib/src/arg_parser.dart

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,10 @@ class ArgParser {
119119
///
120120
/// If [hide] is `true`, this option won't be included in [usage].
121121
///
122-
/// If [hideNegatedUsage] is `true`, the fact that this flag can be negated will
123-
/// not be documented in [usage].
124-
/// It is an error for [hideNegatedUsage] to be `true` if [negatable] is `false`.
122+
/// If [hideNegatedUsage] is `true`, the fact that this flag can be negated
123+
/// will not be documented in [usage].
124+
/// It is an error for [hideNegatedUsage] to be `true` if [negatable] is
125+
/// `false`.
125126
///
126127
/// If [aliases] is provided, these are used as aliases for [name]. These
127128
/// aliases will not appear as keys in the [options] map.
@@ -315,7 +316,8 @@ class ArgParser {
315316

316317
if (!negatable && hideNegatedUsage) {
317318
throw ArgumentError(
318-
'The option $name cannot have `hideNegatedUsage` without being negatable.',
319+
'The option $name cannot have `hideNegatedUsage` '
320+
'without being negatable.',
319321
);
320322
}
321323

0 commit comments

Comments
 (0)