1
0
Fork 0
mirror of https://github.com/overleaf/toolkit.git synced 2025-04-19 23:38:06 +02:00

Print usage for bin/upgrade help

This commit is contained in:
Shane Kilkelly 2020-07-14 14:04:24 +01:00
parent c0b3d5a120
commit b1f3b5c83c

View file

@ -128,6 +128,10 @@ function handle_git_update() {
}
function __main__() {
if [[ "${1:-null}" == "help" ]] \
|| [[ "${1:-null}" == "--help" ]] ; then
usage && exit
fi
handle_git_update
handle_image_upgrade
echo "Done"