1
0

fix help text

This commit is contained in:
GenZmeY 2022-02-21 03:06:02 +03:00
parent 24cc54b788
commit f6fc7fde19

View File

@ -188,11 +188,11 @@ function usage ()
HelpMessage=$(cat <<EOF HelpMessage=$(cat <<EOF
${BLD}Usage:${DEF} $0 OPTIONS ${BLD}Usage:${DEF} $0 OPTIONS
Build, pack, test and upload your kf2 packages to the Steam Workshop. Compile, brew, test and upload your kf2 packages to the Steam Workshop.
${BLD}Available options:${DEF} ${BLD}Available options:${DEF}
-i, --init generate $(basename "$MutBuilderConfig") and $(basename "$MutPubContent") -i, --init generate $(basename "$MutBuilderConfig") and $(basename "$MutPubContent")
-c, --compile build package(s) -c, --compile compile package(s)
-b, --brew compress *.upk and place inside *.u -b, --brew compress *.upk and place inside *.u
-bm, --brew-manual the same (almost) as above, but with patched kfeditor by @notpeelz -bm, --brew-manual the same (almost) as above, but with patched kfeditor by @notpeelz
-u, --upload upload package(s) to the Steam Workshop -u, --upload upload package(s) to the Steam Workshop
@ -826,6 +826,7 @@ function main ()
if is_true "$ArgDebug"; then set -o xtrace; fi if is_true "$ArgDebug"; then set -o xtrace; fi
# Actions # Actions
if is_true "$ArgVersion" && is_true "$ArgHelp"; then version; usage; die "" 0; fi
if is_true "$ArgVersion"; then version; die "" 0; fi if is_true "$ArgVersion"; then version; die "" 0; fi
if is_true "$ArgHelp"; then usage; die "" 0; fi if is_true "$ArgHelp"; then usage; die "" 0; fi
if is_true "$ArgInit"; then init; fi if is_true "$ArgInit"; then init; fi