Skip to content

Commit f63ac94

Browse files
Merge pull request #49967 from nextcloud/jtr/occ-maintenance-mode-desc
fix: Make `maintenance:mode` description more accurate + add help
2 parents a6bcaf7 + 3f6cd15 commit f63ac94

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

core/Command/Maintenance/Mode.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ public function __construct(
2424
protected function configure() {
2525
$this
2626
->setName('maintenance:mode')
27-
->setDescription('set maintenance mode')
27+
->setDescription('Show or toggle maintenance mode status')
28+
->setHelp('Maintenance mode prevents new logins, locks existing sessions, and disables background jobs.')
2829
->addOption(
2930
'on',
3031
null,

0 commit comments

Comments
 (0)