Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(784)

Unified Diff: lib/src/arg_parser.dart

Issue 1748333005: Make it strong mode clean. (Closed) Base URL: https://github.com/dart-lang/args.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: lib/src/arg_parser.dart
diff --git a/lib/src/arg_parser.dart b/lib/src/arg_parser.dart
index f5ce41a35f6e28ec354557107afe4ecaae6e6db6..fa80031a58914f2a0f04fb1333d497843d7b6a3f 100644
--- a/lib/src/arg_parser.dart
+++ b/lib/src/arg_parser.dart
@@ -130,7 +130,7 @@ class ArgParser {
/// Parses [args], a list of command-line arguments, matches them against the
/// flags and options defined by this parser, and returns the result.
ArgResults parse(List<String> args) =>
- new Parser(null, this, args.toList(), null, null).parse();
+ new Parser(null, this, args.toList()).parse();
/// Generates a string displaying usage information for the defined options.
///

Powered by Google App Engine
This is Rietveld 408576698