diff options
Diffstat (limited to 'lib/CommandApplication.php')
-rw-r--r-- | lib/CommandApplication.php | 4 |
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. * |