From 1d93225e0117da36e4969845a011fe674583db20 Mon Sep 17 00:00:00 2001 From: Christopher Beckmann Date: Wed, 3 May 2023 13:33:16 +0200 Subject: [PATCH] Update 'kfg' --- kfg | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/kfg b/kfg index 3ecbcab..80a7d70 100644 --- a/kfg +++ b/kfg @@ -7,21 +7,21 @@ function show_help { echo "$NAME v$VERSION" echo -e "Usage: $NAME cmd [ opt ]\n" echo -en "cmd := { - \t$INFOupdate$ENDCOLOR \t\t Update the tool, - \t$INFOinstall$ENDCOLOR \t\t Install configs :), - \t$INFOversion$ENDCOLOR \t\t Print the version number + \t${INFO}update${ENDCOLOR} \t\t Update the tool, + \t${INFO}install${ENDCOLOR} \t\t Install configs :), + \t${INFO}version${ENDCOLOR} \t\t Print the version number }\n" echo -en "opt := { - $INFO-h$ENDCOLOR | $INFO--help$ENDCOLOR \t\t Show this help, - $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-d$ENDCOLOR | $INFO--debug$ENDCOLOR\t\t Print debug output, - $INFO-c$ENDCOLOR \t\t\t Install config files, - $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-z$ENDCOLOR \t\t\t Set shell to zsh, - $INFO-a$ENDCOLOR \t\t\t Just install everything + ${INFO}-h${ENDCOLOR} | ${INFO}--help${ENDCOLOR} \t\t Show this help, + ${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}-d${ENDCOLOR} | ${INFO}--debug${ENDCOLOR}\t\t Print debug output, + ${INFO}-c${ENDCOLOR} \t\t\t Install config files, + ${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}-z${ENDCOLOR} \t\t\t Set shell to zsh, + ${INFO}-a${ENDCOLOR} \t\t\t Just install everything }" exit 2