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

Unified Diff: lib/src/options.dart

Issue 1412613006: Add -f as an alias for --force-compile. (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Created 5 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
« CHANGELOG.md ('K') | « CHANGELOG.md ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/options.dart
diff --git a/lib/src/options.dart b/lib/src/options.dart
index 01bef1d3f7b4572b044312608b47589f5163bc69..5315d539031dfaf9e561b2842b49bd943d792687 100644
--- a/lib/src/options.dart
+++ b/lib/src/options.dart
@@ -313,7 +313,7 @@ final ArgParser argParser = new ArgParser()
help: 'Emit Closure Compiler-friendly code (experimental)',
defaultsTo: _CLOSURE_DEFAULT)
..addFlag('force-compile',
- help: 'Compile code with static errors', defaultsTo: false)
+ abbr: 'f', help: 'Compile code with static errors', defaultsTo: false)
..addOption('log', abbr: 'l', help: 'Logging level (defaults to warning)')
..addFlag('dump-info',
abbr: 'i', help: 'Dump summary information', defaultsTo: null)
@@ -323,9 +323,7 @@ final ArgParser argParser = new ArgParser()
help: 'V8-based binary to run JavaScript output with (iojs, node, d8)',
defaultsTo: 'iojs')
..addOption('dump-info-file',
- abbr: 'f',
- help: 'Dump info json file (requires dump-info)',
- defaultsTo: null);
+ help: 'Dump info json file (requires dump-info)', defaultsTo: null);
// TODO: Switch over to the `pub_cache` package (or the Resource API)?
« CHANGELOG.md ('K') | « CHANGELOG.md ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698