From 572faa1224b0b6571e40b9ef2c350514b06b7151 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Fri, 1 Dec 2023 15:55:01 +0100 Subject: [PATCH] use correct mode constant of files:scan's --path option Signed-off-by: Robin Appelman --- apps/files/lib/Command/Scan.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/files/lib/Command/Scan.php b/apps/files/lib/Command/Scan.php index 31c410241cffa..600343a452881 100644 --- a/apps/files/lib/Command/Scan.php +++ b/apps/files/lib/Command/Scan.php @@ -90,7 +90,7 @@ protected function configure(): void { ->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(