소스 검색

rename command

Robert Schönthal 11 년 전
부모
커밋
3a1edd3776
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/Composer/Command/HomeCommand.php

+ 2 - 1
src/Composer/Command/HomeCommand.php

@@ -35,7 +35,8 @@ class HomeCommand extends Command
     protected function configure()
     {
         $this
-            ->setName('home')
+            ->setName('browse')
+            ->setAliases(array('home'))
             ->setDescription('opens the package in your browser')
             ->setDefinition(array(
                 new InputArgument('package', InputArgument::REQUIRED, 'Package to goto'),