Update 'kfg'

This commit is contained in:
2023-05-03 13:07:42 +02:00
parent 09987ae942
commit bddd08868c

10
kfg
View File

@@ -4,17 +4,17 @@ NAME="kfg"
VERSION="0.1" VERSION="0.1"
function show_help { function show_help {
echo -n "Usage: $NAME [cmd] [ -y | --yes ] [ -h | --help ] [ -m | --arch ARCH-STRING ] [ -d | --debug ]" echo -n "Usage: $NAME [cmd] [ -y | --yes ] [ -h | --help ] [ -m | --arch ARCH-STRING ] [ -d | --debug ]\n"
echo -n "Available commands: echo -n "Available commands:
\tupdate\t\t update the tool \tupdate\t\t update the tool
\tinstall\t\t install configs :) \tinstall\t\t install configs :)
" "
echo -n "Available options: echo -n "Available options:
\t-h | --help\t\t Show this help -h | --help \t Show this help
\t-y | --yes\t\t Skip confirmation questions -y | --yes \t Skip confirmation questions
\t-m | --arch STRING\t Set the architecture string to be used when downloading files from repositories. Most common are "amd64", "arm64", "armhf", etc... -m | --arch STRING Set the architecture string to be used when downloading files from repositories. Most common are "amd64", "arm64", "armhf", etc...
\t-d | --debug\t\t Print debug output -d | --debug\t\t Print debug output
" "
exit 2 exit 2