From 8e9106885bc736648c0bf0151a29d4bea9b72650 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 29 Oct 2020 15:22:47 -0700 Subject: better default CLI output (show usage) --- python/grobid_tool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/grobid_tool.py') diff --git a/python/grobid_tool.py b/python/grobid_tool.py index fe507a0..2a1d8b5 100755 --- a/python/grobid_tool.py +++ b/python/grobid_tool.py @@ -133,7 +133,7 @@ def main(): args = parser.parse_args() if not args.__dict__.get("func"): - print("tell me what to do!") + parser.print_help(file=sys.stderr) sys.exit(-1) args.sink = None -- cgit v1.2.3