Skip to content

Commit

Permalink
Simplify code.
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed Jan 10, 2017
1 parent b638f1d commit 60c5cb5
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/Console/ConsoleOptionParser.php
Expand Up @@ -611,12 +611,6 @@ protected function _mergeSubcommandHelpToParserDescription($options)
return $options;
}

if (is_array($options['parser'])) {
if (isset($options['parser']['description'])) {
return $options;
}
}

$options['parser'] = [
'description' => $options['help']
] + (array)$options['parser'];
Expand Down

0 comments on commit 60c5cb5

Please sign in to comment.