.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.45.1. .TH INCLUDE-WHAT-YOU-USE "1" "May 2014" "include-what-you-use 3.4-1" "User Commands" .SH NAME include-what-you-use \- Analyze #includes in C and C++ source files .SH DESCRIPTION USAGE: include\-what\-you\-use [\-Xiwyu \fB\-\-iwyu_opt]\fR... Here are the you can specify (e.g. \fB\-Xiwyu\fR \fB\-\-verbose\fR=\fI\,3\/\fR): .HP \fB\-\-check_also=\fR: tells iwyu to print iwyu\-violation info .IP for all files matching the given glob pattern (in addition to the default of reporting for the input .cc file and its associated .h files). This flag may be specified multiple times to specify multiple glob patterns. .HP \fB\-\-cwd=\fR: tells iwyu what the current working directory is. .HP \fB\-\-help\fR: prints this help and exits. .HP \fB\-\-howtodebug[=\fR]: with no arg, prints instructions on .IP how to run iwyu under gdb for the input file, and exits. With an arg, prints only when input file matches the arg. .HP \fB\-\-mapping_file=\fR: gives iwyu a mapping file. .HP \fB\-\-no_default_mappings\fR: do not add iwyu's default mappings. .HP \fB\-\-transitive_includes_only\fR: do not suggest that a file add .IP foo.h unless foo.h is already visible in the file's transitive includes. .HP \fB\-\-prefix_header_includes=\fR: tells iwyu what to do with .IP in\-source includes and forward declarations involving prefix headers. Prefix header is a file included via command\-line option \fB\-include\fR. If prefix header makes include or forward declaration obsolete, presence of such include can be controlled with the following values .TP add: new lines are added .TP keep: new lines aren't added, existing are kept intact .IP remove: new lines aren't added, existing are removed .IP Default value is 'add'. .HP \fB\-\-verbose=\fR: the higher the level, the more output.