diff options
Diffstat (limited to 'core/Command/Base.php')
-rw-r--r-- | core/Command/Base.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/Command/Base.php b/core/Command/Base.php index 1a78e3b4062..15878a807d8 100644 --- a/core/Command/Base.php +++ b/core/Command/Base.php @@ -167,6 +167,9 @@ class Base extends Command implements CompletionAwareInterface { * @return string[] */ public function completeOptionValues($optionName, CompletionContext $context) { + if ($optionName === 'output') { + return ['plain', 'json', 'json_pretty']; + } return []; } |