Browse Source

Merge pull request #3646 from xelaris/info-alias

Add 'info' alias for 'show' command
Jordi Boggiano 10 năm trước cách đây
mục cha
commit
6369dc871b
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/Composer/Command/ShowCommand.php

+ 1 - 0
src/Composer/Command/ShowCommand.php

@@ -41,6 +41,7 @@ class ShowCommand extends Command
     {
         $this
             ->setName('show')
+            ->setAliases(array('info'))
             ->setDescription('Show information about packages')
             ->setDefinition(array(
                 new InputArgument('package', InputArgument::OPTIONAL, 'Package to inspect'),