Better error message for kitty +

This commit is contained in:
Kovid Goyal
2022-06-04 14:47:13 +05:30
parent 2c3a7b5f41
commit b1453a51f6

View File

@@ -125,6 +125,8 @@ def edit_config_file(args: List[str]) -> None:
def namespaced(args: List[str]) -> None:
try:
func = namespaced_entry_points[args[1]]
except IndexError:
raise SystemExit('The kitty command line is incomplete')
except KeyError:
pass
else: