Skip to content

Commit a9ee7ae

Browse files
committed
add some new char
1 parent e4cee96 commit a9ee7ae

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/Application.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,9 @@ public function dispatch(string $name, bool $standAlone = false)
279279
if ($similar = Helper::findSimilar($name, $commands)) {
280280
$this->output->printf("\nMaybe what you mean is:\n <info>%s</info>", implode(', ', $similar));
281281
} else {
282-
$this->showCommandList();
282+
// $this->showCommandList();
283+
$scriptName = $this->getScriptName();
284+
$this->output->colored("\nPlease use '$scriptName --help' for see all available commands");
283285
}
284286

285287
return 2;

src/Component/Symbol/Emoji.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
namespace Inhere\Console\Component\Symbol;
1010

1111
use ReflectionClass;
12-
use ReflectionException;
1312

1413
/**
1514
* Class Emoji

0 commit comments

Comments
 (0)