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

Unified Diff: sdk/lib/_internal/pub/test/pub_cache_test.dart

Issue 15444003: Use args' command support for pub commands. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Initialize command args in constructor. 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
« no previous file with comments | « sdk/lib/_internal/pub/lib/src/hosted_source.dart ('k') | sdk/lib/_internal/pub/test/pub_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/pub/test/pub_cache_test.dart
diff --git a/sdk/lib/_internal/pub/test/pub_cache_test.dart b/sdk/lib/_internal/pub/test/pub_cache_test.dart
index cb38da7d25a6145b9c5c96fb78679b23a78002e2..195bcd58ab0e120aaca28cb576e22d34cb3f3792 100644
--- a/sdk/lib/_internal/pub/test/pub_cache_test.dart
+++ b/sdk/lib/_internal/pub/test/pub_cache_test.dart
@@ -22,6 +22,7 @@ main() {
Inspect the system cache.
Usage: pub cache list
+ -h, --help Print usage information for this command.
''',
error: 'The cache command expects one argument.',
exitCode: 64);
@@ -33,6 +34,7 @@ main() {
Inspect the system cache.
Usage: pub cache list
+ -h, --help Print usage information for this command.
''',
error: 'Unknown cache command "foo".',
exitCode: 64);
« no previous file with comments | « sdk/lib/_internal/pub/lib/src/hosted_source.dart ('k') | sdk/lib/_internal/pub/test/pub_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698