Update 'kfg'

This commit is contained in:
2023-05-03 13:08:27 +02:00
parent bddd08868c
commit 5cc523639f

6
kfg
View File

@@ -4,13 +4,13 @@ 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 ]\n" echo -en "Usage: $NAME [cmd] [ -y | --yes ] [ -h | --help ] [ -m | --arch ARCH-STRING ] [ -d | --debug ]"
echo -n "Available commands: echo -en "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 -en "Available options:
-h | --help \t Show this help -h | --help \t Show this help
-y | --yes \t Skip confirmation questions -y | --yes \t Skip confirmation questions
-m | --arch STRING 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...