From: Daniel Dunbar Date: Thu, 11 Apr 2013 00:31:27 +0000 (+0000) Subject: lit: Shorten a metavar to make --help look nicer. X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=e94bd36dc715bc05aff35e04528dbc409a87d97c lit: Shorten a metavar to make --help look nicer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179248 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/lit/lit/main.py b/utils/lit/lit/main.py index da961eeedc6..de97a8e1aaf 100755 --- a/utils/lit/lit/main.py +++ b/utils/lit/lit/main.py @@ -219,7 +219,7 @@ def main(builtinParameters = {}): group.add_option("", "--shuffle", dest="shuffle", help="Run tests in random order", action="store_true", default=False) - group.add_option("", "--filter", dest="filter", metavar="EXPRESSION", + group.add_option("", "--filter", dest="filter", metavar="REGEX", help=("Only run tests with paths matching the given " "regular expression"), action="store", default=None)