| Index: sdk/lib/_internal/pub/lib/src/command/list_package_dirs.dart
|
| diff --git a/sdk/lib/_internal/pub/lib/src/command/list_package_dirs.dart b/sdk/lib/_internal/pub/lib/src/command/list_package_dirs.dart
|
| index ae6c9c3f220804a14f3c3528b04025113694947c..9f6a1e2b00b1493ddbfb24feb86f4fb6d8331f3d 100644
|
| --- a/sdk/lib/_internal/pub/lib/src/command/list_package_dirs.dart
|
| +++ b/sdk/lib/_internal/pub/lib/src/command/list_package_dirs.dart
|
| @@ -14,17 +14,19 @@ import '../utils.dart';
|
|
|
| /// Handles the `list-package-dirs` pub command.
|
| class ListPackageDirsCommand extends PubCommand {
|
| + String get name => "list-package-dirs";
|
| String get description => "Print local paths to dependencies.";
|
| - String get usage => "pub list-package-dirs";
|
| + String get invocation => "pub list-package-dirs";
|
| + bool get takesArguments => false;
|
| bool get hidden => true;
|
|
|
| ListPackageDirsCommand() {
|
| - commandParser.addOption("format",
|
| + argParser.addOption("format",
|
| help: "How output should be displayed.",
|
| allowed: ["json"]);
|
| }
|
|
|
| - Future onRun() {
|
| + Future run() {
|
| log.json.enabled = true;
|
|
|
| if (!entrypoint.lockFileExists) {
|
|
|