[fix_includes] Rephrase usage epilog

This commit is contained in:
Kim Gräsman 2022-12-15 20:52:22 +01:00
parent 523c16e8da
commit a83809985d
1 changed files with 8 additions and 10 deletions

View File

@ -67,17 +67,15 @@ import sys
from collections import OrderedDict from collections import OrderedDict
_EPILOG = """\ _EPILOG = """\
Reads the output from the include-what-you-use Reads the output from include-what-you-use on stdin -- run with --v=1 (default)
script on stdin -- run with --v=1 (default) verbose or above -- and, verbosity level or above -- and, unless --sort_only or --dry_run is specified,
unless --sort_only or --dry_run is specified, modifies the files mentioned in the output, removing their old #include lines
modifies the files mentioned in the output, removing their old and replacing them with the lines given by include-what-you-use. It also sorts
#include lines and replacing them with the lines given by the the #include and forward-declare lines.
include_what_you_use script. It also sorts the #include and
forward-declare lines.
All files mentioned in the include-what-you-use script are modified, All files mentioned in include-what-you-use output are modified, unless
unless filenames are specified on the commandline, in which case only filenames are specified on the commandline, in which case only those files are
those files are modified. modified.
The exit code is non-zero if a critical error occurs, otherwise zero. The exit code is non-zero if a critical error occurs, otherwise zero.
""" """