Chromium Code Reviews

Unified Diff: sdk/lib/_internal/pub/test/global/activate/missing_package_arg_test.dart

Issue 428313004: Support activating packages from local paths. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix deactivate. Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: sdk/lib/_internal/pub/test/global/activate/missing_package_arg_test.dart
diff --git a/sdk/lib/_internal/pub/test/global/activate/missing_package_arg_test.dart b/sdk/lib/_internal/pub/test/global/activate/missing_package_arg_test.dart
index 2eeba0ed7c64c06c757b6ed82f1a6cb2096f93e5..54384b4c34802827778a2e80b0844109d2fc941b 100644
--- a/sdk/lib/_internal/pub/test/global/activate/missing_package_arg_test.dart
+++ b/sdk/lib/_internal/pub/test/global/activate/missing_package_arg_test.dart
@@ -12,11 +12,12 @@ main() {
error: """
No package to activate given.
- Usage: pub global activate <package> [version]
- -h, --help Print usage information for this command.
+ Usage: pub global activate <package...>
+ -h, --help Print usage information for this command.
+ -s, --source The source used to find the package.
+ [hosted (default), path]
- Run "pub help" to see global options.
- """,
+ Run "pub help" to see global options.""",
exitCode: exit_codes.USAGE);
});
}

Powered by Google App Engine