瀏覽代碼

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