From 9dfe6f0ed910f00a5cb36166ba5a3d50e1099e54 Mon Sep 17 00:00:00 2001 From: Daniel D'Avella Date: Tue, 12 Dec 2023 10:51:08 -0500 Subject: [PATCH] Add --sonar-issues-json for compatibility --- src/codemodder/cli.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/codemodder/cli.py b/src/codemodder/cli.py index ddaf1df1..c434734b 100644 --- a/src/codemodder/cli.py +++ b/src/codemodder/cli.py @@ -198,4 +198,10 @@ def parse_args(argv, codemod_registry: CodemodRegistry): action=CsvListAction, help="Comma-separated set of path(s) to SARIF file(s) to feed to the codemods", ) + # At this time we don't do anything with the sonar-issues-json arg. + parser.add_argument( + "--sonar-issues-json", + action=CsvListAction, + help="Comma-separated set of path(s) to Sonar issues JSON file(s) to feed to the codemods", + ) return parser.parse_args(argv)