Skip to content

Commit

Permalink
EOL fix and credit where it's due
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubledl committed Jan 2, 2013
1 parent 37cc6d8 commit a609551
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion bin/dissect.php
Expand Up @@ -22,7 +22,7 @@
if (!class_exists('Symfony\Component\Console\Application')) {
die(
'You must install the symfony/console package in order ' .
'to use the command-line tool.'
'to use the command-line tool.' . PHP_EOL
);
}

Expand Down
12 changes: 4 additions & 8 deletions src/Dissect/Console/Application.php
Expand Up @@ -14,6 +14,9 @@
*/
class Application extends BaseApplication
{
// credit goes to everzet & kostiklv, since
// I copied the BehatApplication class when
// dealing with some CLI problems.
public function __construct($version)
{
parent::__construct('Dissect', $version);
Expand All @@ -37,14 +40,7 @@ public function getDefinition()
return new InputDefinition(array(
new InputOption('--help', '-h', InputOption::VALUE_NONE, 'Display this help message.'),
new InputOption('--verbose', '-v', InputOption::VALUE_NONE, 'Increase verbosity of exceptions.'),
new InputOption('--version', '-V', InputOption::VALUE_NONE, 'Display this behat version.'),
new InputOption('--config', '-c', InputOption::VALUE_REQUIRED, 'Specify config file to use.'),
new InputOption('--profile', '-p', InputOption::VALUE_REQUIRED, 'Specify config profile to use.')
new InputOption('--version', '-V', InputOption::VALUE_NONE, 'Display version information.'),
));
}

// protected function getTerminalWidth()
// {
// return PHP_INT_MAX;
// }
}

0 comments on commit a609551

Please sign in to comment.