summaryrefslogtreecommitdiffstats
path: root/fedcli.php
diff options
context:
space:
mode:
Diffstat (limited to 'fedcli.php')
-rwxr-xr-xfedcli.php11
1 files changed, 9 insertions, 2 deletions
diff --git a/fedcli.php b/fedcli.php
index 40b5b0c..a604ae8 100755
--- a/fedcli.php
+++ b/fedcli.php
@@ -118,13 +118,20 @@ function Package() {
echo $branch.":\t".$pack['owner'];
$i=0;
+ $tmp = array();
foreach ($pack['people'] as $user) {
if (isset($user['aclOrder']['commit']['statuscode']) && $user['aclOrder']['commit']['statuscode']==3) {
- echo ($i++ ? ", " : " (").$user['username'];
+ $tmp[] = $user['username'];
}
}
- echo ($i ? ")\n" : "\n");
+ if (count($tmp)) {
+ sort($tmp);
+ echo " (".implode($tmp, ', ').")\n";
+ } else {
+ echo "\n";
+ }
}
+
}
function Version() {