qsgen2: Better formatting output
This commit is contained in:
parent
1bf5d9c82d
commit
8b69d90b63
2
qsgen2
2
qsgen2
@ -76,7 +76,7 @@ _list_sites() {
|
||||
if [[ -f "$sites_file" ]]; then
|
||||
echo "Registered qsgen2 Sites:"
|
||||
while IFS='|' read -r site_name site_dir; do
|
||||
echo "Site: $site_name\t- Directory: $site_dir"
|
||||
printf "%-30s - Directory: %-50s\n" "Site: $site_name" "$site_dir"
|
||||
done < "$sites_file"
|
||||
else
|
||||
echo "No sites registered."
|
||||
|
Loading…
Reference in New Issue
Block a user