From 135818f34b4cde34ae55e470fa21c404cc24b334 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 31 May 2022 07:56:01 +0530 Subject: [PATCH] Note about __main__.py with +launch --- __main__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/__main__.py b/__main__.py index 759773a89..fa1e47c24 100644 --- a/__main__.py +++ b/__main__.py @@ -66,7 +66,8 @@ def launch(args: List[str]) -> None: raise SystemExit( 'usage: kitty +launch script.py [arguments to be passed to script.py ...]\n\n' 'script.py will be run with full access to kitty code. If script.py is ' - 'prefixed with a : it will be searched for in PATH' + 'prefixed with a : it will be searched for in PATH. If script.py is a directory ' + 'the __main__.py file inside it is run just as with the normal Python interpreter.' ) if exe.startswith(':'): import shutil