diff options
Diffstat (limited to 'firstaidkit')
-rwxr-xr-x | firstaidkit | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/firstaidkit b/firstaidkit index 8525078..cf84a62 100755 --- a/firstaidkit +++ b/firstaidkit @@ -44,6 +44,7 @@ class Output(Thread): def usage(name): print """Usage: %s [params] + %s [params] -a %s [params] -f plugin flow %s [params] -t plugin task params is none or more items from: @@ -63,8 +64,8 @@ def usage(name): """ % (name, name, name) if __name__=="__main__": - params, rest = getopt.getopt(sys.argv[1:], "ftc:r:vl:x:F:g:P:h", - ["list", "info=", "flow", "task", "config=", "root=", "verbose", "log=", "exclude=", + params, rest = getopt.getopt(sys.argv[1:], "aftc:r:vl:x:F:g:P:h", + ["list", "info=", "auto", "flow", "task", "config=", "root=", "verbose", "log=", "exclude=", "flag=", "gui=", "plugin-path=", "print-config", "help"]) # @@ -77,6 +78,9 @@ if __name__=="__main__": if key in ("-t", "--task"): Config.operation.mode = "task" Flags.main_help = False + elif key in ("-a", "--auto"): + Config.operation.mode = "auto" + Flags.main_help = False elif key in ("-f", "--flow"): Config.operation.mode = "flow" Flags.main_help = False |