aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/transform.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/transform.py
parent732cee4f4226cc275938043383c7502bd1144cbb (diff)
downloadfatcat-scholar-858a4cc900fd0da9549b0cf227041b0d6bb91f6f.tar.gz
fatcat-scholar-858a4cc900fd0da9549b0cf227041b0d6bb91f6f.zip
commands: show usage on empty command
Diffstat (limited to 'fatcat_scholar/transform.py')
-rw-r--r--fatcat_scholar/transform.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fatcat_scholar/transform.py b/fatcat_scholar/transform.py
index 8ba8b2a..10382af 100644
--- a/fatcat_scholar/transform.py
+++ b/fatcat_scholar/transform.py
@@ -697,7 +697,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_transform":