aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh <josh.t.richards@gmail.com>2024-12-23 18:12:23 -0500
committerAndy Scherzinger <info@andy-scherzinger.de>2025-01-01 11:45:57 +0100
commit3f6cd154ef4c156f6d3dc5c5f67c2329a4764402 (patch)
tree159be68a4e18a873b8aa42b9f6c536ab89845ed9
parentc54038cae610a73c9c2165e6d24d84d7c2bb076b (diff)
downloadnextcloud-server-jtr/occ-maintenance-mode-desc.tar.gz
nextcloud-server-jtr/occ-maintenance-mode-desc.zip
fix: Make `maintenance:mode` description more accurate + add helpjtr/occ-maintenance-mode-desc
Signed-off-by: Josh <josh.t.richards@gmail.com>
-rw-r--r--core/Command/Maintenance/Mode.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/Command/Maintenance/Mode.php b/core/Command/Maintenance/Mode.php
index 5e706d88ed8..853e843f57b 100644
--- a/core/Command/Maintenance/Mode.php
+++ b/core/Command/Maintenance/Mode.php
@@ -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,