Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/updater.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CommandApplication.php')
-rw-r--r--lib/CommandApplication.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/CommandApplication.php b/lib/CommandApplication.php
index e1ad2de..563cfa0 100644
--- a/lib/CommandApplication.php
+++ b/lib/CommandApplication.php
@@ -32,6 +32,10 @@ use Symfony\Component\Console\Input\InputInterface;
* @package NC\Updater
*/
class CommandApplication extends Application {
+ public function __construct(string $name = 'update') {
+ parent::__construct($name, UpdateCommand::getUpdaterVersion());
+ }
+
/**
* Gets the name of the command based on input.
*