Clean up help output a little bit
parent
f7e75308ce
commit
e4f0b8f844
|
@ -26,15 +26,15 @@ fi
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
echo "${0} Help"
|
echo "${0} Help"
|
||||||
echo "-h show this help"
|
echo -e "\t-h show this help"
|
||||||
echo "-n hostname *"
|
echo -e "\t-n hostname *"
|
||||||
echo "-d domainame *"
|
echo -e "\t-d domainame *"
|
||||||
echo "-s disk size (num + count size - M=Megabytes G=Gigabytes) *"
|
echo -e "\t-s disk size (num + count size - M=Megabytes G=Gigabytes) *"
|
||||||
echo "-r ram size (in kilobytes) *"
|
echo -e "\t-r ram size (in kilobytes) *"
|
||||||
echo "-c number of vcpus"
|
echo -e "\t-c number of vcpus"
|
||||||
echo "-b bridge to attach to *"
|
echo -e "\t-b bridge to attach to *"
|
||||||
echo "-i distribution to use (see script for supported options) - default is stretch"
|
echo -e "\t-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-o OS type and variant (default: generic:generic - also set by distro option when available)"
|
||||||
}
|
}
|
||||||
|
|
||||||
while getopts "hcr:s:n:d:iob" opt; do
|
while getopts "hcr:s:n:d:iob" opt; do
|
||||||
|
|
Loading…
Reference in New Issue