Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added error message for incorrect arguments

  • Loading branch information...
commit e35ac886f4ef85dff34e52b634da51a914e3463a 1 parent ba77a23
@eromba authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 jtd-android-init.py
View
4 jtd-android-init.py
@@ -85,6 +85,10 @@ def AndroidBrowserIsCaptured():
#
+if len(sys.argv) != 6:
+ print("Usage: jtd-android-init.py [Path to JTD] [Port] [Path to SDK] [AVD] [Delay]")
+ exit(1)
+
JTD_PATH = sys.argv[1]
JTD_PORT = sys.argv[2]
SDK_PATH = sys.argv[3]
Please sign in to comment.
Something went wrong with that request. Please try again.