mirror of https://github.com/MISP/misp-modules
added default parameter for new -m flag
parent
76a733fa66
commit
113ac21a5d
|
@ -217,7 +217,7 @@ def main():
|
|||
argParser.add_argument('-d', default=False, action='store_true', help='Enable debugging')
|
||||
argParser.add_argument('-p', default=6666, help='misp-modules TCP port (default 6666)')
|
||||
argParser.add_argument('-l', default='localhost', help='misp-modules listen address (default localhost)')
|
||||
argParser.add_argument('-m', action='append', help='Register a custom module')
|
||||
argParser.add_argument('-m', default=[], action='append', help='Register a custom module')
|
||||
args = argParser.parse_args()
|
||||
port = args.p
|
||||
listen = args.l
|
||||
|
|
Loading…
Reference in New Issue