aboutsummaryrefslogtreecommitdiff
path: root/cli/reconfigure.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2022-08-05 15:10:41 +0200
committerGravatar GitHub <noreply@github.com> 2022-08-05 15:10:41 +0200
commit6af7854de36be215d7ef59a2663b492d5bd13cfd (patch)
treeb3c2e9e3e168308b41fee99046ac06be0ba1ebd0 /cli/reconfigure.php
parent8bb11bd4f8cd91470591121b88aeb6c0983ab9d8 (diff)
CLI allow empty DB prefix (#4488)
Allow an empty `--db-prefix` parameter (i.e. optional) in CLI to have no DB prefix
Diffstat (limited to 'cli/reconfigure.php')
-rwxr-xr-xcli/reconfigure.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/reconfigure.php b/cli/reconfigure.php
index 7495fc367..aefd1e20b 100755
--- a/cli/reconfigure.php
+++ b/cli/reconfigure.php
@@ -22,7 +22,7 @@ $dBparams = array(
'db-user:',
'db-password:',
'db-base:',
- 'db-prefix:',
+ 'db-prefix::',
);
$options = getopt('', array_merge($params, $dBparams));