Update 'kfg'
This commit is contained in:
24
kfg
24
kfg
@@ -7,21 +7,21 @@ function show_help {
|
|||||||
echo "$NAME v$VERSION"
|
echo "$NAME v$VERSION"
|
||||||
echo -e "Usage: $NAME cmd [ opt ]\n"
|
echo -e "Usage: $NAME cmd [ opt ]\n"
|
||||||
echo -en "cmd := {
|
echo -en "cmd := {
|
||||||
\t$INFOupdate$ENDCOLOR \t\t Update the tool,
|
\t${INFO}update${ENDCOLOR} \t\t Update the tool,
|
||||||
\t$INFOinstall$ENDCOLOR \t\t Install configs :),
|
\t${INFO}install${ENDCOLOR} \t\t Install configs :),
|
||||||
\t$INFOversion$ENDCOLOR \t\t Print the version number
|
\t${INFO}version${ENDCOLOR} \t\t Print the version number
|
||||||
}\n"
|
}\n"
|
||||||
|
|
||||||
echo -en "opt := {
|
echo -en "opt := {
|
||||||
$INFO-h$ENDCOLOR | $INFO--help$ENDCOLOR \t\t Show this help,
|
${INFO}-h${ENDCOLOR} | ${INFO}--help${ENDCOLOR} \t\t Show this help,
|
||||||
$INFO-y$ENDCOLOR | $INFO--yes$ENDCOLOR \t\t Skip confirmation questions,
|
${INFO}-y${ENDCOLOR} | ${INFO}--yes${ENDCOLOR} \t\t Skip confirmation questions,
|
||||||
$INFO-m$ENDCOLOR | $INFO--arch STRING$ENDCOLOR \t Set the architecture string to be used when downloading files from repositories. Most common are "amd64", "arm64", "armhf", etc,
|
${INFO}-m${ENDCOLOR} | ${INFO}--arch STRING${ENDCOLOR} \t Set the architecture string to be used when downloading files from repositories. Most common are "amd64", "arm64", "armhf", etc,
|
||||||
$INFO-d$ENDCOLOR | $INFO--debug$ENDCOLOR\t\t Print debug output,
|
${INFO}-d${ENDCOLOR} | ${INFO}--debug${ENDCOLOR}\t\t Print debug output,
|
||||||
$INFO-c$ENDCOLOR \t\t\t Install config files,
|
${INFO}-c${ENDCOLOR} \t\t\t Install config files,
|
||||||
$INFO-r$ENDCOLOR \t\t\t Add configs into the RC file,
|
${INFO}-r${ENDCOLOR} \t\t\t Add configs into the RC file,
|
||||||
$INFO-b$ENDCOLOR \t\t\t Install binaries depending on the ARCH,
|
${INFO}-b${ENDCOLOR} \t\t\t Install binaries depending on the ARCH,
|
||||||
$INFO-z$ENDCOLOR \t\t\t Set shell to zsh,
|
${INFO}-z${ENDCOLOR} \t\t\t Set shell to zsh,
|
||||||
$INFO-a$ENDCOLOR \t\t\t Just install everything
|
${INFO}-a${ENDCOLOR} \t\t\t Just install everything
|
||||||
}"
|
}"
|
||||||
|
|
||||||
exit 2
|
exit 2
|
||||||
|
|||||||
Reference in New Issue
Block a user