Commit bd7e2318 by Alexander Popov

Check that --config and --print are not used together

parent e3503e95
...@@ -851,6 +851,9 @@ def main(): ...@@ -851,6 +851,9 @@ def main():
config_checklist = [] config_checklist = []
if args.config: if args.config:
if args.print:
sys.exit('[!] ERROR: --config and --print can\'t be used together')
if mode != 'json': if mode != 'json':
print('[+] Kconfig file to check: {}'.format(args.config)) print('[+] Kconfig file to check: {}'.format(args.config))
if args.cmdline: if args.cmdline:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment