Clean up help output a little bit

master
Brie Bruns 5 years ago
parent f7e75308ce
commit e4f0b8f844
  1. 18
      virt-install-cloud.sh

@ -26,15 +26,15 @@ fi
usage() {
echo "${0} Help"
echo "-h show this help"
echo "-n hostname *"
echo "-d domainame *"
echo "-s disk size (num + count size - M=Megabytes G=Gigabytes) *"
echo "-r ram size (in kilobytes) *"
echo "-c number of vcpus"
echo "-b bridge to attach to *"
echo "-i distribution to use (see script for supported options) - default is stretch"
echo "-o OS type and variant (default: generic:generic - also set by distro option when available)"
echo -e "\t-h show this help"
echo -e "\t-n hostname *"
echo -e "\t-d domainame *"
echo -e "\t-s disk size (num + count size - M=Megabytes G=Gigabytes) *"
echo -e "\t-r ram size (in kilobytes) *"
echo -e "\t-c number of vcpus"
echo -e "\t-b bridge to attach to *"
echo -e "\t-i distribution to use (see script for supported options) - default is stretch"
echo -e "\t-o OS type and variant (default: generic:generic - also set by distro option when available)"
}
while getopts "hcr:s:n:d:iob" opt; do

Loading…
Cancel
Save