X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=kconfig_hardened_check%2F__init__.py;h=01ffcbdd0a2cdd18ecd1ee0396d152c175d6c770;hb=bd7e2318d71a773da4ae362757597f54df31a6bb;hp=a2fe794ae623efb1d3f3602a49ff7d8897eac6bb;hpb=649272d27202a00b42d8220554d20c9d0d120294;p=kconfig-hardened-check.git diff --git a/kconfig_hardened_check/__init__.py b/kconfig_hardened_check/__init__.py index a2fe794..01ffcbd 100644 --- a/kconfig_hardened_check/__init__.py +++ b/kconfig_hardened_check/__init__.py @@ -851,6 +851,9 @@ def main(): config_checklist = [] if args.config: + if args.print: + sys.exit('[!] ERROR: --config and --print can\'t be used together') + if mode != 'json': print('[+] Kconfig file to check: {}'.format(args.config)) if args.cmdline: