diff --git a/pythonforandroid/toolchain.py b/pythonforandroid/toolchain.py
index <HASH>..<HASH> 100644
--- a/pythonforandroid/toolchain.py
+++ b/pythonforandroid/toolchain.py
@@ -467,6 +467,10 @@ class ToolchainCL(object):
 
         self.args = args
 
+        if args.subparser_name is None:
+            parser.print_help()
+            exit(1)
+
         setup_color(args.color)
 
         if args.debug:
Added command handling if p4a is run with no arguments