From ad5b5f53693f8f265d744638427fd46da9f41903 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Wed, 18 Mar 2015 17:05:19 +0100 Subject: [PATCH] validate:launcher: Make sure to show apps specific options in the help --- validate/launcher/main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/validate/launcher/main.py b/validate/launcher/main.py index f04bd8f4b0..74f16e6929 100644 --- a/validate/launcher/main.py +++ b/validate/launcher/main.py @@ -479,15 +479,15 @@ Note that all testsuite should be inside python modules, so the directory should loggable.init("GST_VALIDATE_LAUNCHER_DEBUG", True, False) + tests_launcher = _TestsLauncher(libsdir) + tests_launcher.add_options(parser) + if _help_message == HELP and which(LESS): tmpf = tempfile.NamedTemporaryFile() parser.print_help(file=tmpf) exit(os.system("%s %s" % (LESS, tmpf.name))) - tests_launcher = _TestsLauncher(libsdir) - tests_launcher.add_options(parser) - options = LauncherConfig() parser.parse_args(namespace=options) if not options.cleanup():