ソースを参照

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'),