summaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/issue_db.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/issue_db.py
parent732cee4f4226cc275938043383c7502bd1144cbb (diff)
downloadfatcat-scholar-858a4cc900fd0da9549b0cf227041b0d6bb91f6f.tar.gz
fatcat-scholar-858a4cc900fd0da9549b0cf227041b0d6bb91f6f.zip
commands: show usage on empty command
Diffstat (limited to 'fatcat_scholar/issue_db.py')
-rw-r--r--fatcat_scholar/issue_db.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fatcat_scholar/issue_db.py b/fatcat_scholar/issue_db.py
index 9839a60..bf79b09 100644
--- a/fatcat_scholar/issue_db.py
+++ b/fatcat_scholar/issue_db.py
@@ -419,7 +419,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)
idb = IssueDB(args.db_file)