diff options
Diffstat (limited to 'update.php')
| -rwxr-xr-x | update.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/update.php b/update.php index c7f274419..d2a1287d1 100755 --- a/update.php +++ b/update.php @@ -123,7 +123,7 @@ $options_help = []; foreach ($options_map as $option => $descr) { - if (substr($option, -1) === ":") + if (str_ends_with($option, ':')) $option = substr($option, 0, -1); $help_key = trim(sprintf("--%s %s", |