When working in solutions with multiple projects, it is common to build just one specific project at a time and generate a log file for it. Users might want the possibility to update the already existing compile_commands.json changing only the entries for the files that are present in this log, leaving all the other files as they are.
For that, we could have a -u or --update flag that implements this behavior if the compile_commands.json already exists.
Usage:
ms2cc.exe --input-file <PATH_TO_MSBUILD.LOG> --source-directory <PATH_TO_PROJECT_SOURCE> --update