Skip to content

Commit f63f10f

Browse files
committed
update some logic for group sub-command alias
1 parent 68f959b commit f63f10f

File tree

6 files changed

+324
-239
lines changed

6 files changed

+324
-239
lines changed

src/AbstractApplication.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ protected function filterSpecialCommand(string $command): bool
393393
public function addAliases(string $name, $aliases): self
394394
{
395395
if ($name && $aliases) {
396-
$this->router->setAlias($name, $aliases);
396+
$this->router->setAlias($name, $aliases, true);
397397
}
398398

399399
return $this;

0 commit comments

Comments
 (0)