summaryrefslogtreecommitdiffstats
path: root/func/overlord/cmd_modules/call.py
diff options
context:
space:
mode:
Diffstat (limited to 'func/overlord/cmd_modules/call.py')
-rw-r--r--func/overlord/cmd_modules/call.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/func/overlord/cmd_modules/call.py b/func/overlord/cmd_modules/call.py
index 53db70e..4615dd5 100644
--- a/func/overlord/cmd_modules/call.py
+++ b/func/overlord/cmd_modules/call.py
@@ -104,6 +104,11 @@ class Call(base_command.BaseCommand):
# I kind of feel like we shouldn't be parsing args here, but I'm
# not sure what the write place is -al;
+
+ if not args:
+ self.outputUsage()
+ return
+
self.module = args[0]
if len(args) > 1:
self.method = args[1]