mirror of
https://github.com/apache/cordova-android.git
synced 2025-05-12 14:21:40 +08:00
[CB-1959] Display usage and exit when no arguments given
This commit is contained in:
parent
c806451b8a
commit
c0ee593c10
@ -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!"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user