style: update usage/help for quickemu and quickget
This commit is contained in:
parent
6490d48bf9
commit
b085bebfbe
14
quickemu
14
quickemu
|
@ -1385,11 +1385,21 @@ EOF
|
|||
}
|
||||
|
||||
function usage() {
|
||||
echo " _ _"
|
||||
echo " __ _ _ _(_) ___| | _____ _ __ ___ _ _"
|
||||
echo " / _' | | | | |/ __| |/ / _ \ '_ ' _ \| | | |"
|
||||
echo "| (_| | |_| | | (__| < __/ | | | | | |_| |"
|
||||
echo " \__, |\__,_|_|\___|_|\_\___|_| |_| |_|\__,_|"
|
||||
echo " |_| v${VERSION}, using qemu ${QEMU_VER_LONG}"
|
||||
echo "--------------------------------------------------------------------------------"
|
||||
echo " Project - https://github.com/quickemu-project/quickemu"
|
||||
echo " Discord - https://wimpysworld.io/discord"
|
||||
echo "--------------------------------------------------------------------------------"
|
||||
echo
|
||||
echo "Usage"
|
||||
echo " ${LAUNCHER} --vm ubuntu.conf [optional params]"
|
||||
echo " ${LAUNCHER} --vm ubuntu.conf <arguments>"
|
||||
echo
|
||||
echo "List of optional parameters:"
|
||||
echo "Arguments"
|
||||
echo " --access : Enable remote spice access support. 'local' (default), 'remote', 'clientipaddress'"
|
||||
echo " --braille : Enable braille support. Requires SDL."
|
||||
echo " --delete-disk : Delete the disk image and EFI variables"
|
||||
|
|
34
quickget
34
quickget
|
@ -3337,23 +3337,25 @@ function create_vm() {
|
|||
|
||||
function help_message() {
|
||||
#shellcheck disable=SC2016
|
||||
printf ' _ _
|
||||
__ _ _ _ _ ___║ ║ ____ _ ___║ ║_
|
||||
/ _` ║ ║ ║ ║ ║/ __║ ║/ / _` ║/ _ \ __║ MIT
|
||||
( (_║ ║ ║_║ ║ ║ (__║ < (_║ ║ __/ ║_ license
|
||||
\__, ║\__,_║_║\___║_║\ \__, ║\___║\__║ version: %s
|
||||
║_║ ║___/ part of Quickemu project
|
||||
printf '
|
||||
_ _ _
|
||||
__ _ _ _(_) ___| | ____ _ ___| |_
|
||||
/ _` | | | | |/ __| |/ / _` |/ _ \ __|
|
||||
| (_| | |_| | | (__| < (_| | __/ |_
|
||||
\__, |\__,_|_|\___|_|\_\__, |\___|\__|
|
||||
|_| |___/ v%s, using curl %s
|
||||
--------------------------------------------------------------------------------
|
||||
> Quickly create and run optimised Linux, <
|
||||
> Windows and macOS desktop virtual machines <
|
||||
|
||||
Project - https://github.com/quickemu-project/quickemu
|
||||
Discord - https://wimpysworld.io/discord
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
Basic Usage: Advanced Usage:
|
||||
quickget <os> <release> [edition] quickget <arg> [path] <os> [re] [ed]
|
||||
quickget ubuntu 22.04 quickget --download ubuntu 22.04
|
||||
Usage:
|
||||
quickget <os> <release> [edition]
|
||||
quickget ubuntu 22.04
|
||||
|
||||
Advanced usage:
|
||||
quickget <arg> [path] <os> [re] [ed]
|
||||
quickget --download ubuntu 22.04
|
||||
|
||||
Arguments:
|
||||
-[12345] <os> : Show info* about OS
|
||||
|
@ -3362,9 +3364,9 @@ Arguments:
|
|||
--open-homepage (-o) <os> : Open homepage for the OS
|
||||
--version (-v) : Show version
|
||||
--help (-h) : Show this help message
|
||||
--------------------- For testing & development --------------------------------
|
||||
--url (-u) [os] [re] [ed] : Show URL(s) for what specified or All
|
||||
--check (-c) [os] [re] [ed] : Check URL(s) for what specified or All
|
||||
-------------------------- For testing & development ---------------------------
|
||||
--url (-u) [os] [re] [ed] : Show image URL(s)
|
||||
--check (-c) [os] [re] [ed] : Check image URL(s)
|
||||
--list (-l) : List all supported systems
|
||||
--list-csv (-lc) : List everything in csv format
|
||||
--list-json (-lj) : List everything in json format
|
||||
|
@ -3372,7 +3374,7 @@ Arguments:
|
|||
*info: 1=Logo 2=Based of 3=Credentials 4=Homepage 5=Short info
|
||||
Can be used in any combination like -13254 or -52
|
||||
|
||||
supported Operating Systems:\n' "$(quickemu --version)"
|
||||
Supported Operating Systems:\n\n' "$(quickemu --version)" "${CURL_VERSION}"
|
||||
os_support | fold -s -w "$(tput cols)"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue