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

Unified Diff: pkg/args/example/test_runner.dart

Issue 271183002: Modernize the docs for args. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 7 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: pkg/args/example/test_runner.dart
diff --git a/pkg/args/example/test_runner.dart b/pkg/args/example/test_runner.dart
index 74750ae9069b7bce984335c5ba72ca558eff2d86..fac1690b9fba0200dcde18878046ac22d1d14950 100644
--- a/pkg/args/example/test_runner.dart
+++ b/pkg/args/example/test_runner.dart
@@ -2,11 +2,9 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-/**
- * This is an example of converting the args in test.dart to use this API.
- * It shows what it looks like to build an [ArgParser] and then, when the code
- * is run, demonstrates what the generated usage text looks like.
- */
+/// This is an example of converting the args in test.dart to use this API.
+/// It shows what it looks like to build an [ArgParser] and then, when the code
+/// is run, demonstrates what the generated usage text looks like.
library example;
import 'dart:io';
@@ -117,7 +115,6 @@ is 'dart file.dart' and you specify special command
defaultsTo: false);
parser.addOption('dart', help: 'Path to dart executable');
- // TODO(antonm): rename the option.
parser.addOption('drt', help: 'Path to content shell executable');
parser.addOption('dartium', help: 'Path to Dartium Chrome executable');

Powered by Google App Engine
This is Rietveld 408576698