Index: sdk/lib/_internal/pub/test/lish/force_cannot_be_combined_with_dry_run_test.dart |
diff --git a/sdk/lib/_internal/pub/test/lish/force_cannot_be_combined_with_dry_run_test.dart b/sdk/lib/_internal/pub/test/lish/force_cannot_be_combined_with_dry_run_test.dart |
index 26231e3e704c436582d6b56898f384fea4a3315f..c436ff2467c68d8087badfbc40f90e21f9bc4167 100644 |
--- a/sdk/lib/_internal/pub/test/lish/force_cannot_be_combined_with_dry_run_test.dart |
+++ b/sdk/lib/_internal/pub/test/lish/force_cannot_be_combined_with_dry_run_test.dart |
@@ -14,7 +14,16 @@ main() { |
integration('--force cannot be combined with --dry-run', () { |
schedulePub(args: ['lish', '--force', '--dry-run'], |
- error: "Cannot use both --force and --dry-run.", |
+ error: """ |
+ Cannot use both --force and --dry-run. |
+ |
+ Usage: pub publish [options] |
+ -h, --help Print usage information for this command. |
+ -n, --dry-run Validate but do not publish the package. |
+ -f, --force Publish without confirmation if there are no errors. |
+ --server The package server to which to upload this package. |
+ (defaults to "https://pub.dartlang.org") |
+ """, |
exitCode: exit_codes.USAGE); |
}); |
} |