Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

  • Loading branch information...
commit c0ee593c109431ae5ea41df71f5463baf0f8eaa6 1 parent c806451
bdube authored December 02, 2012 agrieve committed December 02, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  bin/create
2  bin/create
@@ -23,7 +23,7 @@
23 23
 #
24 24
 set -e
25 25
 
26  
-if [ -n "$1" ] && [ "$1" == "-h" ]
  26
+if [ -z "$1" ] || [ "$1" == "-h" ]
27 27
 then
28 28
     echo 'usage: create path package activity'
29 29
     echo "Make sure the Android SDK tools folder is in your PATH!"

0 notes on commit c0ee593

Please sign in to comment.
Something went wrong with that request. Please try again.