Only inject logo in help page and not in the app name

main
Jordi Boggiano 12 years ago
parent cd12df5c1f
commit 1a98d9f705

@ -51,7 +51,7 @@ class Application extends BaseApplication
/ /___/ /_/ / / / / / / /_/ / /_/ (__ ) __/ / / /___/ /_/ / / / / / / /_/ / /_/ (__ ) __/ /
\____/\____/_/ /_/ /_/ .___/\____/____/\___/_/ \____/\____/_/ /_/ /_/ .___/\____/____/\___/_/
/_/ /_/
Composer'; ';
public function __construct() public function __construct()
{ {
@ -65,7 +65,7 @@ Composer';
} }
ErrorHandler::register(); ErrorHandler::register();
parent::__construct(self::$logo, Composer::VERSION); parent::__construct('Composer', Composer::VERSION);
} }
/** /**
@ -158,6 +158,11 @@ Composer';
return $this->io; return $this->io;
} }
public function getHelp()
{
return self::$logo . parent::getHelp();
}
/** /**
* Initializes all the composer commands * Initializes all the composer commands
*/ */

Loading…
Cancel
Save