From db3c8fe4025435ab2dd7d6776e6b749de57fa342 Mon Sep 17 00:00:00 2001 From: Moritz Date: Mon, 14 Oct 2024 17:12:11 +0200 Subject: [PATCH] Fix lints --- pkgs/args/lib/src/arg_parser.dart | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/args/lib/src/arg_parser.dart b/pkgs/args/lib/src/arg_parser.dart index 7bb21c74..50c3991d 100644 --- a/pkgs/args/lib/src/arg_parser.dart +++ b/pkgs/args/lib/src/arg_parser.dart @@ -119,9 +119,10 @@ class ArgParser { /// /// If [hide] is `true`, this option won't be included in [usage]. /// - /// If [hideNegatedUsage] is `true`, the fact that this flag can be negated will - /// not be documented in [usage]. - /// It is an error for [hideNegatedUsage] to be `true` if [negatable] is `false`. + /// If [hideNegatedUsage] is `true`, the fact that this flag can be negated + /// will not be documented in [usage]. + /// It is an error for [hideNegatedUsage] to be `true` if [negatable] is + /// `false`. /// /// If [aliases] is provided, these are used as aliases for [name]. These /// aliases will not appear as keys in the [options] map. @@ -315,7 +316,8 @@ class ArgParser { if (!negatable && hideNegatedUsage) { throw ArgumentError( - 'The option $name cannot have `hideNegatedUsage` without being negatable.', + 'The option $name cannot have `hideNegatedUsage` ' + 'without being negatable.', ); }