diff options
Diffstat (limited to 'firstaidkit')
-rwxr-xr-x | firstaidkit | 5 |
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" |