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

Unified Diff: utils/tests/pub/pub_test.dart

Issue 10756011: Have Pub make use of the arg parser. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add tests for non-negatable flags. Created 8 years, 5 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 | « utils/pub/pub.dart ('k') | utils/tests/pub/test_pub.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/tests/pub/pub_test.dart
diff --git a/utils/tests/pub/pub_test.dart b/utils/tests/pub/pub_test.dart
index d4ccfc0bc66686441bd70c2f192c4085dddb90c2..b67158c2d9d3b9ecbd9e6867ff2a8dc51113f202 100644
--- a/utils/tests/pub/pub_test.dart
+++ b/utils/tests/pub/pub_test.dart
@@ -12,12 +12,15 @@
final USAGE_STRING = """
Pub is a package manager for Dart.
- Usage:
+ Usage: pub command [arguments]
- pub command [arguments]
+ Global options:
+ -h, --help Prints this usage information
+ --version Prints the version of Pub
+ --cachedir The directory containing the system-wide Pub cache
+ --sdkdir The directory containing the Dart SDK
The commands are:
-
install install the current package's dependencies
list print the contents of repositories
update update the current package's dependencies to the latest versions
« no previous file with comments | « utils/pub/pub.dart ('k') | utils/tests/pub/test_pub.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698