From 206c4f6ba10417cfb463be9101d71291bd0e458c Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 2 Nov 2020 11:05:48 -0800 Subject: please: better usage output --- please | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/please b/please index 10fa843..4800112 100755 --- a/please +++ b/please @@ -600,7 +600,7 @@ def main(): 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 not (args.prod or args.qa) or (args.prod and args.qa): print("must pass one of --prod or --qa") -- cgit v1.2.3