summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2011-12-10 19:35:32 +0100
committerDave Reisner <dreisner@archlinux.org>2011-12-16 04:03:56 +0100
commit05325a8e46255211706121eaedbf3f09ac6c957a (patch)
tree1e14ff5ad29342a68249927a9d2ab89e8d6b99f4
parent31fae37e83036d72ba75b039dcee55fd88683585 (diff)
downloadmkinitcpio-05325a8e46255211706121eaedbf3f09ac6c957a.tar.gz
mkinitcpio-05325a8e46255211706121eaedbf3f09ac6c957a.tar.xz
lsinitcpio: cleanup binary display
- trim leading paths from all binaries - sort alphabetically - add same trailing indent as the module display Signed-off-by: Dave Reisner <dreisner@archlinux.org>
-rwxr-xr-xlsinitcpio2
1 files changed, 1 insertions, 1 deletions
diff --git a/lsinitcpio b/lsinitcpio
index dbc73ac..aa27e71 100755
--- a/lsinitcpio
+++ b/lsinitcpio
@@ -155,7 +155,7 @@ if (( analyze )); then
fi
msg 'Included binaries:'
- printf '%s\n' "${binaries[@]}" | column -c$columns
+ printf ' %s\n' "${binaries[@]##*/}" | sort | column -c$columns
printf '\n'
if (( ${#hooks[*]} )); then