summaryrefslogtreecommitdiffstats
path: root/firstaidkit
diff options
context:
space:
mode:
Diffstat (limited to 'firstaidkit')
-rwxr-xr-xfirstaidkit5
1 files changed, 5 insertions, 0 deletions
diff --git a/firstaidkit b/firstaidkit
index 282607e..2fc8ce5 100755
--- a/firstaidkit
+++ b/firstaidkit
@@ -162,6 +162,11 @@ if __name__=="__main__":
Config.operation.params = val
if Config.operation.mode == "flow":
+ if len(rest) < 1:
+ print "Error in the command arguments.\n"
+ usage(sys.argv)
+ sys.exit(1)
+
Config.operation.plugin = rest[0]
if len(rest)<=1:
Config.operation.mode = "plugin"