diff options
author | Robin Appelman <robin@icewind.nl> | 2023-12-01 15:55:01 +0100 |
---|---|---|
committer | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2024-02-24 11:39:05 +0100 |
commit | 572faa1224b0b6571e40b9ef2c350514b06b7151 (patch) | |
tree | 4b41f772ab930853977c92e4d9435850d29880b1 /apps/files/lib/Command | |
parent | 3343626183a90412dfd4104f47e94b76e72710f0 (diff) | |
download | nextcloud-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.php | 2 |
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( |