Browse Source

Merge pull request #3646 from xelaris/info-alias

Add 'info' alias for 'show' command
Jordi Boggiano 10 years ago
parent
commit
6369dc871b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/Composer/Command/ShowCommand.php

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

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