This commit is contained in:
2018-09-19 21:43:25 +02:00
parent 1c407a4328
commit f9d3d02e74
482 changed files with 31736 additions and 9897 deletions
+1 -1
View File
@@ -178,6 +178,6 @@ class Filter
*/
protected function prefixCompareString(Argument $argument)
{
return strtolower($argument->longPrefix() ?: $argument->prefix() ?: '');
return mb_strtolower($argument->longPrefix() ?: $argument->prefix() ?: '');
}
}
+2 -2
View File
@@ -121,7 +121,7 @@ class Summary
public function argument(Argument $argument)
{
$summary = $this->prefixedArguments($argument);
$printedName = strstr($summary, ' ' . $argument->name());
$printedName = mb_strstr($summary, ' ' . $argument->name());
// Print the argument name if it's not printed yet.
if (!$printedName && !$argument->noValue()) {
@@ -169,7 +169,7 @@ class Summary
return;
}
$this->climate->br()->out(ucwords($type) . ' Arguments:');
$this->climate->br()->out(mb_convert_case($type, MB_CASE_TITLE) . ' Arguments:');
foreach ($arguments as $argument) {
$this->climate->tab()->out($this->argument($argument));