Merge pull request #49967 from nextcloud/jtr/occ-maintenance-mode-desc

fix: Make `maintenance:mode` description more accurate + add help
This commit is contained in:
Andy Scherzinger 2025-01-13 18:02:32 +01:00 committed by GitHub
commit f63ac94b34
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -24,7 +24,8 @@ class Mode extends Command {
protected function configure() {
$this
->setName('maintenance:mode')
->setDescription('set maintenance mode')
->setDescription('Show or toggle maintenance mode status')
->setHelp('Maintenance mode prevents new logins, locks existing sessions, and disables background jobs.')
->addOption(
'on',
null,