Chromium Code Reviews

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

Issue 428313004: Support activating packages from local paths. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 5 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/unexpected_arguments_test.dart
diff --git a/sdk/lib/_internal/pub/test/global/activate/unexpected_arguments_test.dart b/sdk/lib/_internal/pub/test/global/activate/unexpected_arguments_test.dart
index 0e08982a818954f0d6f58567fce083901df0e34e..986586ed6785841cd3e4f6c561c753e65936aff6 100644
--- a/sdk/lib/_internal/pub/test/global/activate/unexpected_arguments_test.dart
+++ b/sdk/lib/_internal/pub/test/global/activate/unexpected_arguments_test.dart
@@ -12,11 +12,12 @@ main() {
error: """
Unexpected arguments "bar" and "baz".
- Usage: pub global activate <package> [version]
- -h, --help Print usage information for this command.
+ Usage: pub global activate [--source source] <package> [version]
+ -h, --help Print usage information for this command.
+ -s, --source The source used to find the package.
+ [git, 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