Fixes #152
parent
29e726e622
commit
fccd6498ee
|
@ -14,6 +14,7 @@ from cme.helpers import highlight
|
|||
from cme.targetparser import parse_targets
|
||||
from cme.moduleloader import ModuleLoader
|
||||
from cme.first_run import first_run_setup
|
||||
from getpass import getuser
|
||||
import sqlite3
|
||||
import argparse
|
||||
import os
|
||||
|
|
|
@ -76,6 +76,10 @@ class ModuleLoader:
|
|||
module_options = {}
|
||||
|
||||
for option in self.args.module_options:
|
||||
if '=' not in option:
|
||||
self.logger.error('All module options should be in KEY=VALUE format, use the --show-options flag to view available module options')
|
||||
sys.exit(1)
|
||||
|
||||
key, value = option.split('=', 1)
|
||||
module_options[str(key).upper()] = value
|
||||
|
||||
|
|
Loading…
Reference in New Issue