mirror of
https://gitlab.com/psuapp/psu.git
synced 2024-08-30 18:12:34 +00:00
Enhance options printing
This commit is contained in:
parent
55b45769d3
commit
c615ef737f
2
psu
2
psu
@ -1267,7 +1267,7 @@ display_options() {
|
||||
name="${table[1]}"
|
||||
description="${table[2]}"
|
||||
if [ -n "$description" ]; then
|
||||
row=$(printf "%-${flag_columns}s %-${columns}s %-${columns}s \n" "$flag," "$name" "$description")
|
||||
row=$(printf "%-${flag_columns}s %-${columns}s %-${columns}s \n" "$(if [ -n "$flag" ]; then echo "$flag,"; fi)" "$name" "$description")
|
||||
echo " $row"
|
||||
fi
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user