added default parameter for new -m flag

pull/135/head
Viktor von Drakk 2017-09-01 07:44:53 -07:00
parent 76a733fa66
commit 113ac21a5d
1 changed files with 1 additions and 1 deletions

View File

@ -217,7 +217,7 @@ def main():
argParser.add_argument('-d', default=False, action='store_true', help='Enable debugging') 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('-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('-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() args = argParser.parse_args()
port = args.p port = args.p
listen = args.l listen = args.l