From cefc23b82b3fea18dd839cfdbfba28a234aaf06a Mon Sep 17 00:00:00 2001 From: Pete Peterson <petersonpf@ornl.gov> Date: Thu, 22 Jun 2017 13:26:27 -0400 Subject: [PATCH] Use correct command line parser --- Testing/SystemTests/scripts/InstallerTests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Testing/SystemTests/scripts/InstallerTests.py b/Testing/SystemTests/scripts/InstallerTests.py index 18640214f94..5fffa90e94f 100644 --- a/Testing/SystemTests/scripts/InstallerTests.py +++ b/Testing/SystemTests/scripts/InstallerTests.py @@ -22,8 +22,8 @@ parser.add_argument('-R', dest='test_regex', metavar='regexp', default=None, help='Optionally only run the test matched by the regex') parser.add_argument('--archivesearch', dest='archivesearch', action='store_true', help='Turn on archive search for file finder') -parser.add_option("", "--exclude-in-pull-requests", dest="exclude_in_pr_builds",action="store_true", - help="Skip tests that are not run in pull request builds") +parser.add_argument('--exclude-in-pull-requests', dest="exclude_in_pr_builds",action="store_true", + help="Skip tests that are not run in pull request builds") log_levels = ['error', 'warning', 'notice', 'information', 'debug'] parser.add_argument('-l', dest='log_level', metavar='level', default='notice', choices=log_levels, help='Log level '+str(log_levels)) -- GitLab