| Index: sdk/lib/_internal/pub/lib/src/command.dart
|
| diff --git a/sdk/lib/_internal/pub/lib/src/command.dart b/sdk/lib/_internal/pub/lib/src/command.dart
|
| index e8b7ed0e09fa14a9589802d0ed8de194b61dd5bc..796504f7aad55562459f65fcf3a0239d05dc6701 100644
|
| --- a/sdk/lib/_internal/pub/lib/src/command.dart
|
| +++ b/sdk/lib/_internal/pub/lib/src/command.dart
|
| @@ -123,7 +123,8 @@ and include the results in a bug report on http://dartbug.com/new.
|
| new Future.sync(() {
|
| // Make sure there aren't unexpected arguments.
|
| if (!takesArguments && commandOptions.rest.isNotEmpty) {
|
| - log.error('Command does not take any arguments.');
|
| + log.error('Command "${commandOptions.name}" does not take any '
|
| + 'arguments.');
|
| this.printUsage();
|
| return flushThenExit(exit_codes.USAGE);
|
| }
|
|
|