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

Unified Diff: pkg/intl/test/message_extraction/extract_to_json.dart

Issue 52573002: Remove uses of Options from pkg, samples, tests, and third_party directories. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Edit comment Created 7 years, 2 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
« no previous file with comments | « pkg/http_server/test/utils.dart ('k') | pkg/intl/test/message_extraction/generate_from_json.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/intl/test/message_extraction/extract_to_json.dart
diff --git a/pkg/intl/test/message_extraction/extract_to_json.dart b/pkg/intl/test/message_extraction/extract_to_json.dart
index ea7695e0657bbda77ed0bebb4771f3e3755591be..279c8f5389a169e461e03f29ee741cdff0e3801e 100644
--- a/pkg/intl/test/message_extraction/extract_to_json.dart
+++ b/pkg/intl/test/message_extraction/extract_to_json.dart
@@ -27,8 +27,7 @@ import 'package:path/path.dart' as path;
import 'package:intl/src/intl_message.dart';
import 'package:args/args.dart';
-main() {
- var args = new Options().arguments;
+main(List<String> args) {
var targetDir;
var parser = new ArgParser();
parser.addFlag("suppress-warnings", defaultsTo: false,
@@ -78,4 +77,4 @@ Map toJson(MainMessage message) {
}
result["message"] = message.expanded(leaveTheInterpolationsInDartForm);
return result;
-}
+}
« no previous file with comments | « pkg/http_server/test/utils.dart ('k') | pkg/intl/test/message_extraction/generate_from_json.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698