diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2017-04-16 16:01:22 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2017-04-16 16:01:22 +0000 |
commit | 71d5a2540a98c81f5bcaeb48805e0e2881f530ef (patch) | |
tree | 5343938942df402b49ec7300a1c25a2d4ccd5821 /utils/prepare-code-coverage-artifact.py | |
parent | 31bbf64f3a4974a2d6c8b3b27ad2f519caf74057 (diff) |
Diffstat (limited to 'utils/prepare-code-coverage-artifact.py')
-rw-r--r-- | utils/prepare-code-coverage-artifact.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/utils/prepare-code-coverage-artifact.py b/utils/prepare-code-coverage-artifact.py index 726375e899cd..883cdd78049b 100644 --- a/utils/prepare-code-coverage-artifact.py +++ b/utils/prepare-code-coverage-artifact.py @@ -6,6 +6,9 @@ from __future__ import print_function - Collate raw profiles into one indexed profile. - Generate html reports for the given binaries. + +Caution: The positional arguments to this script must be specified before any +optional arguments, such as --restrict. ''' import argparse @@ -84,7 +87,8 @@ if __name__ == '__main__': help='Emit a unified report for all binaries') parser.add_argument('--restrict', metavar='R', type=str, nargs='*', default=[], - help='Restrict the reporting to the given source paths') + help='Restrict the reporting to the given source paths' + ' (must be specified after all other positional arguments)') args = parser.parse_args() if args.use_existing_profdata and args.only_merge: |