Print the usage if no args ar provided to the build_podspecs script (#1665)

Motivation:

The information printed when invoking `build_podspecs.sh` without
arguments is outdated.

Modifications:

- Print usage information when invoking without arguments.

Result:

- 'build_podspecs.sh' is more helpful when you can't remember how it
  should be invoked
This commit is contained in:
George Barnett 2020-10-01 17:37:55 +01:00 committed by GitHub
parent c3e2359c55
commit bbb0e92702
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ done
shift "$((OPTIND-1))"
if [[ $# -eq 0 ]]; then
echo "Must provide target version"
usage
exit 1
fi