aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/lib/Command
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2023-12-01 15:55:01 +0100
committerJohn Molakvoæ <skjnldsv@users.noreply.github.com>2024-02-24 11:39:05 +0100
commit572faa1224b0b6571e40b9ef2c350514b06b7151 (patch)
tree4b41f772ab930853977c92e4d9435850d29880b1 /apps/files/lib/Command
parent3343626183a90412dfd4104f47e94b76e72710f0 (diff)
downloadnextcloud-server-572faa1224b0b6571e40b9ef2c350514b06b7151.tar.gz
nextcloud-server-572faa1224b0b6571e40b9ef2c350514b06b7151.zip
use correct mode constant of files:scan's --path option
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/files/lib/Command')
-rw-r--r--apps/files/lib/Command/Scan.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/lib/Command/Scan.php b/apps/files/lib/Command/Scan.php
index 31c410241cf..600343a4528 100644
--- a/apps/files/lib/Command/Scan.php
+++ b/apps/files/lib/Command/Scan.php
@@ -90,7 +90,7 @@ class Scan extends Base {
->addOption(
'path',
'p',
- InputArgument::OPTIONAL,
+ InputOption::VALUE_REQUIRED,
'limit rescan to this path, eg. --path="/alice/files/Music", the user_id is determined by the path and the user_id parameter and --all are ignored'
)
->addOption(