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

Unified Diff: pkg/intl/test/message_extraction/make_hardcoded_translation.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/intl/test/message_extraction/generate_from_json.dart ('k') | pkg/source_maps/test/run.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/intl/test/message_extraction/make_hardcoded_translation.dart
diff --git a/pkg/intl/test/message_extraction/make_hardcoded_translation.dart b/pkg/intl/test/message_extraction/make_hardcoded_translation.dart
index 9b3e03d80456836025b0040da802ea965bfd6e91..657c53cd6585c1caa65d18ad6f0d4df44a2321a7 100644
--- a/pkg/intl/test/message_extraction/make_hardcoded_translation.dart
+++ b/pkg/intl/test/message_extraction/make_hardcoded_translation.dart
@@ -223,8 +223,7 @@ void translate(List originals, String locale, Map translations) {
file.writeAsStringSync(JSON.encode(translated));
}
-main() {
- var args = new Options().arguments;
+main(List<String> args) {
if (args.length == 0) {
print('Usage: generate_hardcoded_translation [--output-dir=<dir>] '
'[originalFile.json]');
« no previous file with comments | « pkg/intl/test/message_extraction/generate_from_json.dart ('k') | pkg/source_maps/test/run.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698