From 120f00354e05936a8633e5e64a30375a791785b6 Mon Sep 17 00:00:00 2001 From: Dominik Bamberger Date: Mon, 26 Jul 2021 10:11:59 +0200 Subject: [PATCH] Include '--output' and '--format' flags. --- .../codeql-cli/analyzing-databases-with-the-codeql-cli.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 488e85a278a..435199b2fa4 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 @@ -123,7 +123,7 @@ To run an existing CodeQl pack from GitHub Packages - the GitHub Container Regis Afterwards, you can run the pack on a specific database: - codeql database analyze microsoft/coding-standards@1.0.0 / + codeql database analyze microsoft/coding-standards@1.0.0 / --format=sarifv2.1.0 --output=query-results.sarif The ``analyze`` command above runs the default suite from ``microsoft/coding-standards v1.0.0`` and the latest version of ``scope/other-pack`` on the specified database. For further information about default suites, see ":ref:`Publishing and using CodeQL packs `".