[CB-1959] Display usage and exit when no arguments given

This commit is contained in:
Brian M Dube 2012-12-02 13:12:44 -08:00 committed by Andrew Grieve
parent c806451b8a
commit c0ee593c10

View File

@ -23,7 +23,7 @@
# #
set -e set -e
if [ -n "$1" ] && [ "$1" == "-h" ] if [ -z "$1" ] || [ "$1" == "-h" ]
then then
echo 'usage: create path package activity' echo 'usage: create path package activity'
echo "Make sure the Android SDK tools folder is in your PATH!" echo "Make sure the Android SDK tools folder is in your PATH!"