diff --git a/scripts/test/miniwdl_validation.py b/scripts/test/miniwdl_validation.py index d0415d8ef..89995d7be 100644 --- a/scripts/test/miniwdl_validation.py +++ b/scripts/test/miniwdl_validation.py @@ -49,7 +49,15 @@ def main(): parser = argparse.ArgumentParser() parser.add_argument("files", nargs="+", help="The WDL files to be checked.") parser.add_argument("--imports-dir", required=True, help="The directory to search for WDLs to be imported.") - parser.add_argument("--max-import-depth", default=2, help="Maximum depth of imports to check for validating WDLs.") + parser.add_argument( + "--max-import-depth", + default=15, + help="Set the maximum allowed depth of imports in the WDLs. " + "For a given WDL, miniwdl first asserts the imports, and " + "it will error-out if it reaches the given max depth " + "and the WDL has imports. For instance, with max depth set " + "to 2, it will error-out validating " + "Foo.wdl -> (import Bar.wdl -> (import Baz.wdl)).") args = parser.parse_args() wdl_filenames = args.files