aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2012-10-07 18:52:57 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2012-10-07 18:52:57 +0200
commitbdd53c4ba364efd68b7c7ec9132004bd494050d4 (patch)
tree8d03e777d73b832025cd77bf0ea2350cfeb49120 /app
parent038106cc4bca5e5a7273679bf090f8cca544679c (diff)
downloadapp.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-xapp4
1 files changed, 2 insertions, 2 deletions
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)
}