[include-fixer] Don't throw exception when parsing unknown arguments in

vim script.

llvm-svn: 302934
This commit is contained in:
Haojian Wu 2017-05-12 19:01:02 +00:00
parent ddbbf6416c
commit a9231af7dd
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ def main():
help='path used to read a compilation database.') help='path used to read a compilation database.')
parser.add_argument('-saving-path', default='./find_all_symbols_db.yaml', parser.add_argument('-saving-path', default='./find_all_symbols_db.yaml',
help='result saving path') help='result saving path')
args = parser.parse_args() args, _ = parser.parse_known_args()
db_path = 'compile_commands.json' db_path = 'compile_commands.json'