aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel <mail@danielkesselberg.de>2024-11-21 11:00:31 +0100
committerGitHub <noreply@github.com>2024-11-21 11:00:31 +0100
commit1f6d0f0eb64f72ca51a627a6a104f77784704f32 (patch)
tree8fd7673d8e7e41a4281fa15790a819277fba5e0d
parent1134b3e5607ed6771a650e2c7193ce10ec3f8f56 (diff)
parentaa2b9b5ef24011848f2661a2bb139f11bcecfa07 (diff)
downloadnextcloud-server-1f6d0f0eb64f72ca51a627a6a104f77784704f32.tar.gz
nextcloud-server-1f6d0f0eb64f72ca51a627a6a104f77784704f32.zip
Merge pull request #49407 from nextcloud/feat/occ-files-cleanup-help
feat(files): Add help to / update description of `files:cleanup`
-rw-r--r--apps/files/lib/Command/DeleteOrphanedFiles.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files/lib/Command/DeleteOrphanedFiles.php b/apps/files/lib/Command/DeleteOrphanedFiles.php
index d07337594a1..0f3375d2e93 100644
--- a/apps/files/lib/Command/DeleteOrphanedFiles.php
+++ b/apps/files/lib/Command/DeleteOrphanedFiles.php
@@ -29,7 +29,8 @@ class DeleteOrphanedFiles extends Command {
protected function configure(): void {
$this
->setName('files:cleanup')
- ->setDescription('cleanup filecache')
+ ->setDescription('Clean up orphaned filecache and mount entries')
+ ->setHelp('Deletes orphaned filecache and mount entries (those without an existing storage).')
->addOption('skip-filecache-extended', null, InputOption::VALUE_NONE, 'don\'t remove orphaned entries from filecache_extended');
}