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

main
Jordi Boggiano 12 years ago
parent cd12df5c1f
commit 1a98d9f705

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

Loading…
Cancel
Save