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:
parent
c0b3d5a120
commit
b1f3b5c83c
1 changed files with 4 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue