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

Unified Diff: pkg/analysis_server/lib/http_server.dart

Issue 171363007: set analysis server exitCode on invalid cmdline arguments (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: upload again Created 6 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/lib/http_server.dart
diff --git a/pkg/analysis_server/lib/http_server.dart b/pkg/analysis_server/lib/http_server.dart
index 3fb08de909499298307d253c6fa2008b797bfc87..c295e649e5f61bfb43aa397660eb9de76877d6b2 100644
--- a/pkg/analysis_server/lib/http_server.dart
+++ b/pkg/analysis_server/lib/http_server.dart
@@ -74,6 +74,7 @@ class HttpAnalysisServer {
print('Missing required port number');
print('');
_printUsage(parser);
+ exitCode = 1;
return;
}
@@ -85,6 +86,7 @@ class HttpAnalysisServer {
print('Invalid port number: ${results[PORT_OPTION]}');
print('');
_printUsage(parser);
+ exitCode = 1;
return;
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698