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

Unified Diff: editor/tools/plugins/com.google.dart.command.analyze/src/com/google/dart/command/analyze/AnalyzerOptions.java

Issue 16231008: Remove unused (and little used) cli flags from dartanalyzer. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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: editor/tools/plugins/com.google.dart.command.analyze/src/com/google/dart/command/analyze/AnalyzerOptions.java
===================================================================
--- editor/tools/plugins/com.google.dart.command.analyze/src/com/google/dart/command/analyze/AnalyzerOptions.java (revision 23440)
+++ editor/tools/plugins/com.google.dart.command.analyze/src/com/google/dart/command/analyze/AnalyzerOptions.java (working copy)
@@ -111,6 +111,7 @@
private boolean machineFormat = false;
@Option(name = "--help", //
+ aliases = {"-h"}, //
usage = "Prints this help message")
private boolean showHelp = false;
@@ -154,13 +155,6 @@
@Option(name = "--fatal-type-errors")
private boolean fatalTypeError = false;
- @Option(name = "--create-sdk-index", //
- metaVar = "<file>")
- private File sdkIndexLocation = null;
-
- @Option(name = "--test")
- private boolean runTests = false;
-
@SuppressWarnings("unused")
@Option(name = "--ignore-unrecognized-flags")
private boolean ignoreUnrecognizedFlags;
@@ -190,18 +184,7 @@
return packageRootPath;
}
- public boolean getRunTests() {
- return runTests;
- }
-
/**
- * @return the output location to use when creating an SDK index
- */
- public File getSdkIndexLocation() {
- return sdkIndexLocation;
- }
-
- /**
* @return whether SDK warnings should be reported
*/
public boolean getShowPackageWarnings() {

Powered by Google App Engine
This is Rietveld 408576698