From 07ed4bf11e246487810b3d74dddd48b4eb0e8662 Mon Sep 17 00:00:00 2001 From: Michael Hohn Date: Thu, 27 Jul 2023 09:18:46 -0700 Subject: [PATCH] Add 'usage' to build-multiple-codeql-versions.sh --- build-multiple-codeql-versions.sh | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/build-multiple-codeql-versions.sh b/build-multiple-codeql-versions.sh index 96f974c..8f0872e 100644 --- a/build-multiple-codeql-versions.sh +++ b/build-multiple-codeql-versions.sh @@ -1,10 +1,21 @@ -# +#!/bin/bash -e #* Following are the steps needed to build a codeql db using different versions of -# the codeql cli +# the codeql cli. # # Some files from prior runs are found in ./data/codeql-dataflow-sql-injection/ # -echo '$0: Interactive use only' +usage=" +This script's purpose is to run the sarif-cli against SARIF files +produced by different versions of the codeql cli. + +This script is intended for interactive use only. Take one block at a time, +run it, and check results as you go. + +A (subset) of this script may be automated in the future. +" + +echo "$0: Interactive use only" +echo "$usage" exit 1 #* Use virtual environment. See README for setup.