aboutsummaryrefslogtreecommitdiffstats
path: root/python/sandcrawler/html_ingest.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-10-29 15:22:47 -0700
committerBryan Newbold <bnewbold@archive.org>2020-10-29 15:23:15 -0700
commit8e9106885bc736648c0bf0151a29d4bea9b72650 (patch)
tree8e3ca41508f79850bbfc3fa262ec519e8a5894eb /python/sandcrawler/html_ingest.py
parentae37c8e32f1289816b69cd5a502a6bc5fd862414 (diff)
downloadsandcrawler-8e9106885bc736648c0bf0151a29d4bea9b72650.tar.gz
sandcrawler-8e9106885bc736648c0bf0151a29d4bea9b72650.zip
better default CLI output (show usage)
Diffstat (limited to 'python/sandcrawler/html_ingest.py')
-rw-r--r--python/sandcrawler/html_ingest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/sandcrawler/html_ingest.py b/python/sandcrawler/html_ingest.py
index 0e1439c..10662a1 100644
--- a/python/sandcrawler/html_ingest.py
+++ b/python/sandcrawler/html_ingest.py
@@ -179,7 +179,7 @@ def main() -> None:
args = parser.parse_args()
if not args.__dict__.get("func"):
- print("tell me what to do! (try --help)")
+ parser.print_help(file=sys.stderr)
sys.exit(-1)
if args.func == "run_single":