move the checks so they do not interfere with calling help page
This commit is contained in:
parent
c34ffcbe76
commit
7c00500bf2
16
builder
16
builder
@ -1084,6 +1084,14 @@ function main ()
|
|||||||
setup_colors
|
setup_colors
|
||||||
export PATH="$PATH:$ThirdPartyBin"
|
export PATH="$PATH:$ThirdPartyBin"
|
||||||
|
|
||||||
|
# Modifiers
|
||||||
|
if is_true "$ArgDebug"; then set -o xtrace; fi
|
||||||
|
|
||||||
|
# Help
|
||||||
|
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 "$ArgHelp"; then usage; die "" 0; fi
|
||||||
|
|
||||||
# Checks
|
# Checks
|
||||||
if [[ -z "$KFSteamLibraryFolder" ]]; then
|
if [[ -z "$KFSteamLibraryFolder" ]]; then
|
||||||
err "\"Killing Floor 2\" not found"
|
err "\"Killing Floor 2\" not found"
|
||||||
@ -1100,14 +1108,6 @@ function main ()
|
|||||||
warn "If you get errors, install them in the same steam library folder."
|
warn "If you get errors, install them in the same steam library folder."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Modifiers
|
|
||||||
if is_true "$ArgDebug"; then set -o xtrace; fi
|
|
||||||
|
|
||||||
# Help
|
|
||||||
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 "$ArgHelp"; then usage; die "" 0; fi
|
|
||||||
|
|
||||||
# Backup
|
# Backup
|
||||||
if is_true "$ArgCompile" || is_true "$ArgBrew"; then backup_kfeditorconf; fi
|
if is_true "$ArgCompile" || is_true "$ArgBrew"; then backup_kfeditorconf; fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user