diff --git a/docs/codeql/codeql-cli/analyzing-databases-with-the-codeql-cli.rst b/docs/codeql/codeql-cli/analyzing-databases-with-the-codeql-cli.rst index 884eaf69444..effc34f3a1d 100644 --- a/docs/codeql/codeql-cli/analyzing-databases-with-the-codeql-cli.rst +++ b/docs/codeql/codeql-cli/analyzing-databases-with-the-codeql-cli.rst @@ -33,18 +33,12 @@ When you run ``database analyze``, it: You can analyze a database by running the following command:: - codeql database analyze --format= --output= + codeql database analyze --format= --output= You must specify: - ````: the path to the CodeQL database you want to analyze. -- ````: the queries to run over your database. You can - list one or more individual query files, specify a directory that will be - searched recursively for query files, or name a query suite that defines a - particular set of queries. For more information, see the :ref:`examples - ` below. - - ``--format``: the format of the results file generated during analysis. A number of different formats are supported, including CSV, :ref:`SARIF `, and graph formats. For more information about CSV and SARIF, @@ -56,6 +50,13 @@ You must specify: You can also specify: +- ````: the queries to run over your database. You can + list one or more individual query files, specify a directory that will be + searched recursively for query files, or name a query suite that defines a + particular set of queries. If omitted, the default query suite for the language + of the database being analyzed will be usedFor more information, see the + :ref:`examples ` below. + - ``--sarif-category``: an identifying category for the results. Used when you want to upload more than one set of results for a commit. For example, when you use ``github upload-results`` to send results for more than one