forked from organicmaps/organicmaps-tmp
[tools] version.sh initializes printed variables when displaying help
Signed-off-by: Alexander Borsuk <me@alex.bio>
This commit is contained in:
parent
9347453d66
commit
a4781d12f2
1 changed files with 2 additions and 1 deletions
|
@ -80,10 +80,11 @@ Where format is one of the following arguments (shows current values):
|
|||
EOF
|
||||
}
|
||||
|
||||
init
|
||||
|
||||
if [ -z ${1:-} ] || [[ ! $(type -t "$1") == function ]]; then
|
||||
usage
|
||||
exit 1
|
||||
else
|
||||
init
|
||||
"$1"
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue