Skip to content

Commit fa04ea7

Browse files
docs-botmchammer01
andauthored
Update CodeQL CLI manual (#61562)
Co-authored-by: mc <42146119+mchammer01@users.noreply.github.com>
1 parent 862eab5 commit fa04ea7

4 files changed

Lines changed: 16 additions & 16 deletions

File tree

content/code-security/reference/code-scanning/codeql/codeql-cli-manual/database-create.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -314,10 +314,10 @@ configuration files that should work in most situations.
314314
315315
#### `--working-dir=<dir>`
316316
317-
\[Advanced] The directory in which the specified command should be
318-
executed. If this argument is not provided, the command is executed in
319-
the value of `--source-root` passed to codeql database create, if one exists. If no `--source-root` argument is provided, the command is executed in the
320-
current working directory.
317+
\[Advanced] The working directory for this command. If this argument is
318+
not provided, the working directory defaults to the value of
319+
`--source-root` passed to codeql database create, if one exists. If no `--source-root` argument is provided, the current working directory is
320+
used.
321321
322322
#### `--no-run-unnecessary-builds`
323323

content/code-security/reference/code-scanning/codeql/codeql-cli-manual/database-finalize.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ construction. Those databases will be processed together.
5656

5757
#### `--working-dir=<dir>`
5858

59-
\[Advanced] The directory in which the specified command should be
60-
executed. If this argument is not provided, the command is executed in
61-
the value of `--source-root` passed to [codeql database create](/code-security/reference/code-scanning/codeql/codeql-cli-manual/database-create), if one exists. If no `--source-root` argument is provided, the command is executed in the
62-
current working directory.
59+
\[Advanced] The working directory for this command. If this argument is
60+
not provided, the working directory defaults to the value of
61+
`--source-root` passed to [codeql database create](/code-security/reference/code-scanning/codeql/codeql-cli-manual/database-create), if one exists. If no `--source-root` argument is provided, the current working directory is
62+
used.
6363

6464
#### `--additional-dbs=<database>[:<database>...]`
6565

content/code-security/reference/code-scanning/codeql/codeql-cli-manual/database-index-files.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,10 @@ set, the environment variable value takes precedence over this option.
7878

7979
#### `--working-dir=<dir>`
8080

81-
\[Advanced] The directory in which the specified command should be
82-
executed. If this argument is not provided, the command is executed in
83-
the value of `--source-root` passed to [codeql database create](/code-security/reference/code-scanning/codeql/codeql-cli-manual/database-create), if one exists. If no `--source-root` argument is provided, the command is executed in the
84-
current working directory.
81+
\[Advanced] The working directory for this command. If this argument is
82+
not provided, the working directory defaults to the value of
83+
`--source-root` passed to [codeql database create](/code-security/reference/code-scanning/codeql/codeql-cli-manual/database-create), if one exists. If no `--source-root` argument is provided, the current working directory is
84+
used.
8585

8686
### Options to control extractor behavior
8787

content/code-security/reference/code-scanning/codeql/codeql-cli-manual/database-trace-command.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,10 @@ cannot be used in conjunction with `--index-traceless-dbs`.
110110

111111
#### `--working-dir=<dir>`
112112

113-
\[Advanced] The directory in which the specified command should be
114-
executed. If this argument is not provided, the command is executed in
115-
the value of `--source-root` passed to [codeql database create](/code-security/reference/code-scanning/codeql/codeql-cli-manual/database-create), if one exists. If no `--source-root` argument is provided, the command is executed in the
116-
current working directory.
113+
\[Advanced] The working directory for this command. If this argument is
114+
not provided, the working directory defaults to the value of
115+
`--source-root` passed to [codeql database create](/code-security/reference/code-scanning/codeql/codeql-cli-manual/database-create), if one exists. If no `--source-root` argument is provided, the current working directory is
116+
used.
117117

118118
#### `--no-run-unnecessary-builds`
119119

0 commit comments

Comments
 (0)