From d02e6558a328d93029a04e129ac551010e571e73 Mon Sep 17 00:00:00 2001 From: Jim Rollenhagen Date: Tue, 20 Mar 2018 11:33:54 -0400 Subject: [PATCH] Clarify ignore-files help string It isn't immediately clear that this option only checks the basename of the file, rather than the entire path - make it a bit clearer in the help message so that people don't end up digging through the code to find this out. --- nose/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nose/config.py b/nose/config.py index 5997aaf7..56966fd1 100644 --- a/nose/config.py +++ b/nose/config.py @@ -529,8 +529,8 @@ def getParser(self, doc=None): parser.add_option( "-I", "--ignore-files", action="append", dest="ignoreFiles", metavar="REGEX", - help="Completely ignore any file that matches this regular " - "expression. Takes precedence over any other settings or " + help="Completely ignore any file with a basename matching this " + "regular expression. Takes precedence over any other settings or " "plugins. " "Specifying this option will replace the default setting. " "Specify this option multiple times "