added default parameter for new -m flag

pull/135/head
Viktor von Drakk 5 years ago
parent 76a733fa66
commit 113ac21a5d
  1. 2
      misp_modules/__init__.py

@ -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…
Cancel
Save