[Git][reproducible-builds/diffoscope][master] Document how --exclude arguments are matched against filenames

Chris Lamb gitlab at salsa.debian.org
Mon Apr 20 10:33:23 UTC 2020



Chris Lamb pushed to branch master at Reproducible Builds / diffoscope


Commits:
137111bb by Ben Hutchings at 2020-04-20T00:51:25+01:00
Document how --exclude arguments are matched against filenames

The current description of the --exclude option only says that it
excludes files matching the glob.  It does not explicitly say whether
the file's base name or full name is used.  Document that the full
filename is used.

- - - - -


1 changed file:

- diffoscope/main.py


Changes:

=====================================
diffoscope/main.py
=====================================
@@ -287,8 +287,9 @@ def create_parser():
         metavar='GLOB_PATTERN',
         action='append',
         default=[],
-        help='Exclude files that match %(metavar)s. Use this '
-        'option to ignore files based on their names.',
+        help='Exclude files whose names (including any directory part) '
+        'match %(metavar)s. Use this option to ignore files based on '
+        'their names.',
     )
     group3.add_argument(
         '--exclude-command',



View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/137111bbd379c870b5d3fc630fe42bb136fdb893

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/137111bbd379c870b5d3fc630fe42bb136fdb893
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20200420/f0fa1262/attachment.htm>


More information about the rb-commits mailing list