| Index: sdk/lib/_internal/pub/bin/pub.dart | 
| diff --git a/sdk/lib/_internal/pub/bin/pub.dart b/sdk/lib/_internal/pub/bin/pub.dart | 
| index 4d19e8edc12d474a1ddcc2da403ce1690c783d59..496a35b100bf610359b45799104e8056bd79693c 100644 | 
| --- a/sdk/lib/_internal/pub/bin/pub.dart | 
| +++ b/sdk/lib/_internal/pub/bin/pub.dart | 
| @@ -22,8 +22,7 @@ void main(List<String> arguments) { | 
| ArgResults options; | 
|  | 
| try { | 
| -    options = PubCommand.pubArgParser.parse(arguments, | 
| -        allowTrailingOptions: true); | 
| +    options = PubCommand.pubArgParser.parse(arguments); | 
| } on FormatException catch (e) { | 
| log.error(e.message); | 
| log.error('Run "pub help" to see available options.'); | 
|  |