Update 'kfg'
This commit is contained in:
14
kfg
14
kfg
@@ -4,18 +4,18 @@ 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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user