Skip to content

Commit 5796297

Browse files
committed
C#/Java: Update the model generator script usage examples and description.
1 parent 6831775 commit 5796297

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ def __init__ (self, language):
4040

4141
def printHelp(self):
4242
print(f"""Usage:
43-
python3 GenerateFlowModel.py <library-database> [--with-sinks] [--with-sources] [--with-summaries] [--with-typebased-summaries] [--dry-run]
43+
python3 GenerateFlowModel.py <library-database> [--with-sinks] [--with-sources] [--with-summaries] [--with-neutrals] [--with-typebased-summaries] [--dry-run]
4444
45-
This generates summary, source and sink models for the code in the database.
45+
This generates summary, source, sink and neutral models for the code in the database.
4646
The files will be placed in `{self.language}/ql/lib/ext/generated/`.
4747
4848
Which models are generated is controlled by the flags:
@@ -56,8 +56,7 @@ def printHelp(self):
5656
--dry-run: Only run the queries, but don't write to file.
5757
5858
Example invocations:
59-
$ python3 GenerateFlowModel.py /tmp/dbs/my_library_db mylibrary
60-
$ python3 GenerateFlowModel.py /tmp/dbs/my_library_db mylibrary
59+
$ python3 GenerateFlowModel.py /tmp/dbs/my_library_db
6160
$ python3 GenerateFlowModel.py /tmp/dbs/my_library_db --with-sinks
6261
6362
Requirements: `codeql` should both appear on your path.

0 commit comments

Comments
 (0)