Skip to content

Commit 19db8e5

Browse files
committed
Java: Address review comments and also delete comment about type based summaries only being for C#.
1 parent 1c135bd commit 19db8e5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

misc/scripts/models-as-data/generate_flow_model.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def __init__ (self, language):
3838

3939
def printHelp(self):
4040
print(f"""Usage:
41-
python3 GenerateFlowModelExtensions.py <library-database> <outputYml> [<friendlyFrameworkName>] [--with-sinks] [--with-sources] [--with-summaries] [--with-typebased-summaries] [--dry-run]
41+
python3 GenerateFlowModel.py <library-database> <outputYml> [<friendlyFrameworkName>] [--with-sinks] [--with-sources] [--with-summaries] [--with-typebased-summaries] [--dry-run]
4242
4343
This generates summary, source and sink models for the code in the database.
4444
The files will be placed in `{self.language}/ql/lib/ext/generated/<outputYml>.model.yml` where
@@ -50,15 +50,15 @@ def printHelp(self):
5050
--with-sources
5151
--with-summaries
5252
--with-negative-summaries
53-
--with-typebased-summaries (Experimental - only for C#)
53+
--with-typebased-summaries (Experimental)
5454
If none of these flags are specified, all models are generated except for the type based models.
5555
5656
--dry-run: Only run the queries, but don't write to file.
5757
5858
Example invocations:
59-
$ python3 GenerateFlowModelExtensions.py /tmp/dbs/my_library_db mylibrary
60-
$ python3 GenerateFlowModelExtensions.py /tmp/dbs/my_library_db mylibrary "Friendly Name of Framework"
61-
$ python3 GenerateFlowModelExtensions.py /tmp/dbs/my_library_db --with-sinks
59+
$ python3 GenerateFlowModel.py /tmp/dbs/my_library_db mylibrary
60+
$ python3 GenerateFlowModel.py /tmp/dbs/my_library_db mylibrary "Friendly Name of Framework"
61+
$ python3 GenerateFlowModel.py /tmp/dbs/my_library_db --with-sinks
6262
6363
Requirements: `codeql` should both appear on your path.
6464
""")

0 commit comments

Comments
 (0)