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() {
echo "DistroHopper v. $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 $" h help Show this help and exit"
printf $"\th\thelp\t\t\tShow this help and exit\n"
echo "---------------------------------------------------------"
echo $" d dir Set default directory where VMs are stored"
echo $" i install Install DistroHopper"
printf $"\td\tdir\t\t\tSet default directory where VMs are stored\n"
printf $"\ti\tinstall\t\t\tInstall DistroHopper\n"
echo "---------------------------------------------------------"
echo $" m mode Portable mode"
printf $"\tm\tmode\t\t\tPortable mode\n"
echo "---------------------------------------------------------"
echo $" s supported Update supported VMs"
echo $" r ready Update ready to run VMs"
printf $"\ts\tsupported\t\tUpdate supported VMs\n"
printf $"\tr\tready\t\t\tUpdate ready to run VMs\n"
echo "---------------------------------------------------------"
echo $" t tui Run TUI"
echo $" g gui Run GUI"
printf $"\tt\ttui\t\t\tRun TUI\n"
printf $"\tg\tgui\t\t\tRun GUI\n"
echo "---------------------------------------------------------"
echo $" a add Add new distro to quickget"
echo $" f functions Sort functions in quickget"
echo $" p push Push changed quickget to quickemu project #todo"
printf $"\ta\tadd\t\t\tAdd new distro to quickget\n"
printf $"\tf\tfunctions\t\tSort functions in quickget\n"
printf $"\tp\tpush\t\t\tPush changed quickget to quickemu project #todo\n"
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 $" l language Translate DistroHopper"
printf $"\tl\tlanguage\t\tTranslate DistroHopper\n"
echo "---------------------------------------------------------"
echo $"Homepage: dh.osowoso.xyz"
echo $"Project hosted at: https://github.com/oSoWoSo/DistroHopper"