From bdd53c4ba364efd68b7c7ec9132004bd494050d4 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sun, 7 Oct 2012 18:52:57 +0200 Subject: o Better ./app list output. --- app | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app') diff --git a/app b/app index bb46441..2363f19 100755 --- a/app +++ b/app @@ -350,7 +350,7 @@ method_stop() { method_list() { - printf "%20s %20s %20s\n" "instance" "name" "version" + printf "%-20s %-20s %-20s\n" "Name" "Instance" "Version" if [ ! -r $BASEDIR/.app/var/list ] then @@ -359,7 +359,7 @@ method_list() { sort $BASEDIR/.app/var/list | (export IFS=:; while read instance name version do - printf "%20s %20s %20s\n" "$instance" "$name" "$version" + printf "%-20s %-20s %-20s\n" "$name" "$instance" "$version" done) } -- cgit v1.2.3