Permalink
Browse files

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

  • Loading branch information...
1 parent c806451 commit c0ee593c109431ae5ea41df71f5463baf0f8eaa6 @bdube bdube committed with agrieve Dec 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/create
View
@@ -23,7 +23,7 @@
#
set -e
-if [ -n "$1" ] && [ "$1" == "-h" ]
+if [ -z "$1" ] || [ "$1" == "-h" ]
then
echo 'usage: create path package activity'
echo "Make sure the Android SDK tools folder is in your PATH!"

0 comments on commit c0ee593

Please sign in to comment.