We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents af27fe5 + eade7ec commit 3ed4f14Copy full SHA for 3ed4f14
lib/src/tools/compound_tool.dart
@@ -266,12 +266,15 @@ class CompoundArgParser implements ArgParser {
266
bool negatable = true,
267
void Function(bool value)? callback,
268
bool hide = false,
269
+ bool hideNegatedUsage = false,
270
List<String> aliases = const []}) =>
271
_compoundParser.addFlag(name,
272
abbr: abbr,
273
help: help,
274
defaultsTo: defaultsTo,
275
negatable: negatable,
276
+ // TODO once lower bound of args is 2.7.0 (requires Dart SDK 3.3.0), which adds hideNegatedUsage, forward this arg
277
+ // hideNegatedUsage: hideNegatedUsage,
278
callback: callback,
279
hide: hide,
280
aliases: aliases);
0 commit comments