---
name: "iwyu_tool"
section: "1"
platform: "linux"
package: "iwyu"
version: "8.23-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/iwyu_tool"
---

# iwyu\_tool(1)

Include-what-you-use compilation database driver

## NAME

iwyu\_tool.py - Include-what-you-use compilation database driver

## DESCRIPTION

usage: iwyu\_tool.py \[-h\] \[-v\] \[-o {clang,iwyu}\] \[-j JOBS\] **-p** \<build-path\>

- \[source \[source ...\]\] **--** \[\<IWYU args\>\]

  \[source \[source ...\]\]

Include-what-you-use compilation database driver.

### positional arguments:

- source

  Zero or more source files to run IWYU on. Defaults to all in compilation database.

### optional arguments:

- **-h**, **--help**

  show this help message and exit

- **-v**, **--verbose**

  Print IWYU commands

- **-o** {clang,iwyu}, **--output-format** {clang,iwyu}

  Output format (default: iwyu)

- **-j** JOBS, **--jobs** JOBS

  Number of concurrent subprocesses

- **-p** \<build-path\>

  Compilation database path

Assumes include-what-you-use is available on the PATH.
