Browse Source

Do not spam users with welcome message in every commands

Closes #10870
Rachman Chavik 8 years ago
parent
commit
41ea068f31
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/Console/Shell.php

+ 3 - 1
src/Console/Shell.php

@@ -273,7 +273,9 @@ class Shell
     public function startup()
     {
         if (!$this->param('requested')) {
-            $this->_welcome();
+            if (!$this->args) {
+                $this->_welcome();
+            }
         }
     }