Skip to content

Commit

Permalink
Merge pull request #319 from kapilkd13/master
Browse files Browse the repository at this point in the history
Showing usage message when no arguments are passed
  • Loading branch information
mr-c committed Mar 3, 2017
2 parents 47f4e3f + f4013f8 commit 36de782
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cwltool/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,8 @@ def main(argsl=None, # type: List[str]
setattr(args, "workflow", "CWLFile")
else:
_logger.error("")
_logger.error("CWL document required, try --help for details")
_logger.error("CWL document required, no input file was provided")
arg_parser().print_help()
return 1
if args.relax_path_checks:
draft2tool.ACCEPTLIST_RE = draft2tool.ACCEPTLIST_EN_RELAXED_RE
Expand Down

0 comments on commit 36de782

Please sign in to comment.