aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/sim_pipeline.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-11-02 21:50:53 -0800
committerBryan Newbold <bnewbold@archive.org>2020-11-02 21:54:53 -0800
commit858a4cc900fd0da9549b0cf227041b0d6bb91f6f (patch)
tree6b2ec259bfc97388e8dc35074eec566142e18238 /fatcat_scholar/sim_pipeline.py
parent732cee4f4226cc275938043383c7502bd1144cbb (diff)
downloadfatcat-scholar-858a4cc900fd0da9549b0cf227041b0d6bb91f6f.tar.gz
fatcat-scholar-858a4cc900fd0da9549b0cf227041b0d6bb91f6f.zip
commands: show usage on empty command
Diffstat (limited to 'fatcat_scholar/sim_pipeline.py')
-rw-r--r--fatcat_scholar/sim_pipeline.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fatcat_scholar/sim_pipeline.py b/fatcat_scholar/sim_pipeline.py
index 47a3e22..926d943 100644
--- a/fatcat_scholar/sim_pipeline.py
+++ b/fatcat_scholar/sim_pipeline.py
@@ -191,7 +191,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)
sp = SimPipeline(issue_db=IssueDB(args.issue_db_file))