Skip to content

Commit ba9f0a1

Browse files
committed
Add doc field message to the output of --help
1 parent 58274ef commit ba9f0a1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cwltool/argparser.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -799,6 +799,7 @@ def generate_parser(
799799
records: List[str],
800800
input_required: bool = True,
801801
) -> argparse.ArgumentParser:
802+
toolparser.description = tool.tool.get("doc", None)
802803
toolparser.add_argument("job_order", nargs="?", help="Job input json file")
803804
namemap["job_order"] = "job_order"
804805

0 commit comments

Comments
 (0)