lit: Shorten a metavar to make --help look nicer.
authorDaniel Dunbar <daniel@zuster.org>
Thu, 11 Apr 2013 00:31:27 +0000 (00:31 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Thu, 11 Apr 2013 00:31:27 +0000 (00:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179248 91177308-0d34-0410-b5e6-96231b3b80d8

utils/lit/lit/main.py

index da961eeedc636d8a8d0bff2e25df6625f37a27d9..de97a8e1aaf68f8d6b41d3142e116fca639fe257 100755 (executable)
@@ -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("", "--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)
                      help=("Only run tests with paths matching the given "
                            "regular expression"),
                      action="store", default=None)