diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2012-10-07 18:52:57 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2012-10-07 18:52:57 +0200 |
commit | bdd53c4ba364efd68b7c7ec9132004bd494050d4 (patch) | |
tree | 8d03e777d73b832025cd77bf0ea2350cfeb49120 /app | |
parent | 038106cc4bca5e5a7273679bf090f8cca544679c (diff) | |
download | app.sh-bdd53c4ba364efd68b7c7ec9132004bd494050d4.tar.gz app.sh-bdd53c4ba364efd68b7c7ec9132004bd494050d4.tar.bz2 app.sh-bdd53c4ba364efd68b7c7ec9132004bd494050d4.tar.xz app.sh-bdd53c4ba364efd68b7c7ec9132004bd494050d4.zip |
o Better ./app list output.
Diffstat (limited to 'app')
-rwxr-xr-x | app | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) } |