diff options
Diffstat (limited to 'update.php')
-rwxr-xr-x | update.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/update.php b/update.php index f74b95a98..9c62ccb2a 100755 --- a/update.php +++ b/update.php @@ -37,7 +37,7 @@ "help"); foreach ($pluginhost->get_commands() as $command => $data) { - array_push($longopts, $command); + array_push($longopts, $command . $data["suffix"]); } $options = getopt("", $longopts); @@ -79,7 +79,8 @@ print "Plugin options:\n"; foreach ($pluginhost->get_commands() as $command => $data) { - printf(" --%-19s - %s\n", "$command", $data["description"]); + $args = $data['arghelp']; + printf(" --%-19s - %s\n", "$command $args", $data["description"]); } return; |