diff --git a/quickget b/quickget index 6b05cb6..5bd4b5e 100755 --- a/quickget +++ b/quickget @@ -3694,6 +3694,53 @@ if [[ ! " $(os_support) " =~ " ${OS} " ]]; then echo -e "ERROR! ${OS} is not a supported OS.\n" os_support exit 1 +help_message() { + #shellcheck disable=SC2016 + printf ' _ _ + __ _ _ _ _ ___║ ║ ____ _ ___║ ║_ + / _` ║ ║ ║ ║ ║/ __║ ║/ / _` ║/ _ \ __║ + ( (_║ ║ ║_║ ║ ║ (__║ < (_║ ║ __/ ║_ MIT + \__, ║\__,_║_║\___║_║\ \__, ║\___║\__║ license + ║_║ version: %s ║___/ part of QUICKEMU project + QEMU %s -------------------------------------------------- + > Quickly create and run optimised Linux, < + > Windows and macOS desktop virtual machines. < + homepage - Not Yet + repository - https://github.com/quickemu-project/quickemu + official GUI - https://github.com/quickemu-project/quickgui + by Wimpy https://github.com/flexiondotorg and contributors + Discord - https://discord.gg/wimpy-s-world-712850672223125565 +-------------------------------------------------------------- + +Basic Usage: + quickget [edition] + quickget alpine latest + +Advanced Usage: + quickget [path] [re] [ed] + quickget -d peppermint latest devuan-xfce + +Posible arguments: + --help (-h) : Show this help message and exit + --os-info (-i) : Show info about OS + --os-homepage (-o) : Open OS homepage in default browser + --iso-download (-d) [ed] : Just download ISO + --custom (-c) : Create VM with downloaded ISO* + --version (-v) : Show version and exit + * To prepare custom VM config (Not supported by quickget) use: + quickget --custom +-------------- for developers / testing ---------------------- + --list-json (-lj) : Show OS info in json format + --list-csv (-lc) : Show OS info in csv format + --list-supported (-ls) : List all supported OS,releases,editions + --list-isos (-li) : List all supported ISOs + --test-isos (-ti) : Test if ISOs are available +-------------------------------------------------------------- +supported Operating Systems:\n' "$(quickemu --version)" "$(qemu-x86_64 -version | head -1 | cut -d' ' -f3)" + os_support | fold -s -w "$(tput cols)" + exit 0 +} + fi if [ -n "${2}" ]; then