lines with tabs: printf and \t instead of echo

This commit is contained in:
zenobit 2023-03-29 23:33:30 +02:00
parent afbde282cc
commit 09d1f4534d
1 changed files with 14 additions and 14 deletions

28
dh
View File

@ -22,28 +22,28 @@ function some_bugs() {
function show_help() { function show_help() {
echo "DistroHopper v. $version" echo "DistroHopper v. $version"
echo "quickemu v. $("$prefix"quickemu --version)" echo "quickemu v. $("$prefix"quickemu --version)"
echo $" example for First run from terminal: ./dh i && dh s g" printf $" example for First run from terminal: ./dh i && dh s g\n"
echo $"Possible arguments:" echo $"Possible arguments:"
echo $" h help Show this help and exit" printf $"\th\thelp\t\t\tShow this help and exit\n"
echo "---------------------------------------------------------" echo "---------------------------------------------------------"
echo $" d dir Set default directory where VMs are stored" printf $"\td\tdir\t\t\tSet default directory where VMs are stored\n"
echo $" i install Install DistroHopper" printf $"\ti\tinstall\t\t\tInstall DistroHopper\n"
echo "---------------------------------------------------------" echo "---------------------------------------------------------"
echo $" m mode Portable mode" printf $"\tm\tmode\t\t\tPortable mode\n"
echo "---------------------------------------------------------" echo "---------------------------------------------------------"
echo $" s supported Update supported VMs" printf $"\ts\tsupported\t\tUpdate supported VMs\n"
echo $" r ready Update ready to run VMs" printf $"\tr\tready\t\t\tUpdate ready to run VMs\n"
echo "---------------------------------------------------------" echo "---------------------------------------------------------"
echo $" t tui Run TUI" printf $"\tt\ttui\t\t\tRun TUI\n"
echo $" g gui Run GUI" printf $"\tg\tgui\t\t\tRun GUI\n"
echo "---------------------------------------------------------" echo "---------------------------------------------------------"
echo $" a add Add new distro to quickget" printf $"\ta\tadd\t\t\tAdd new distro to quickget\n"
echo $" f functions Sort functions in quickget" printf $"\tf\tfunctions\t\tSort functions in quickget\n"
echo $" p push Push changed quickget to quickemu project #todo" printf $"\tp\tpush\t\t\tPush changed quickget to quickemu project #todo\n"
echo "---------------------------------------------------------" echo "---------------------------------------------------------"
echo $" c copy Copy all ISOs to target dir (for Ventoy)" printf $"\tc\tcopy\t\t\tCopy all ISOs to target dir (for Ventoy)\n"
echo "---------------------------------------------------------" echo "---------------------------------------------------------"
echo $" l language Translate DistroHopper" printf $"\tl\tlanguage\t\tTranslate DistroHopper\n"
echo "---------------------------------------------------------" echo "---------------------------------------------------------"
echo $"Homepage: dh.osowoso.xyz" echo $"Homepage: dh.osowoso.xyz"
echo $"Project hosted at: https://github.com/oSoWoSo/DistroHopper" echo $"Project hosted at: https://github.com/oSoWoSo/DistroHopper"