Skip to content

Commit 10bef24

Browse files
committed
restore cwltool specific ability to omit the input object
1 parent 00c2e98 commit 10bef24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cwltool/argparser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ def arg_parser(): # type: () -> argparse.ArgumentParser
252252
"CommandLineTool, or ExpressionTool. If the `inputs_object` has a "
253253
"`cwl:tool` field indicating the path or URL to the cwl_document, "
254254
" then the `workflow` argument is optional.")
255-
parser.add_argument("job_order",
255+
parser.add_argument("job_order", nargs=argparse.REMAINDER,
256256
metavar='inputs_object', help="path or URL to a YAML or JSON "
257257
"formatted description of the required input values for the given "
258258
"`cwl_document`.")

0 commit comments

Comments
 (0)