mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-13 19:28:28 +00:00
Add --version option
This commit is contained in:
parent
aefe19d482
commit
ecfb7027c5
@ -1366,6 +1366,14 @@ while true; do
|
||||
useConfig "$2"
|
||||
shift
|
||||
;;
|
||||
--version)
|
||||
echo "Version: ${arkstVersion}"
|
||||
echo "Channel: ${arkstChannel}"
|
||||
if [ -n "${arkstCommit}" ]; then
|
||||
echo "Commit: ${arkstCommit:0:7}"
|
||||
fi
|
||||
exit 1
|
||||
;;
|
||||
-h|--help)
|
||||
echo -e "Usage: arkmanager [OPTION]\n"
|
||||
echo "Option Description"
|
||||
@ -1388,6 +1396,8 @@ while true; do
|
||||
echo "upgrade-tools Check for a new ARK Server Tools version and upgrades it if needed"
|
||||
echo "uninstall-tools Uninstall the ARK Server Tools"
|
||||
echo "useconfig <name> Use the configuration overrides in the specified config name or file"
|
||||
echo "--help Show this help"
|
||||
echo "--version Show the version info of ARK Server Tools"
|
||||
echo
|
||||
echo "Update command takes the below options:"
|
||||
echo " --force Apply update without checking the current version"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user