Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in kitty --help #3869

kbd opened this issue Jul 26, 2021 · 1 comment

Bug in kitty --help #3869

kbd opened this issue Jul 26, 2021 · 1 comment


Copy link

kbd commented Jul 26, 2021

~$ kitty --help 
[207 15:21:09.164617] Traceback (most recent call last):
  File "lib/python3.9/kitty/", line 344, in main
  File "lib/python3.9/kitty/", line 314, in _main
  File "lib/python3.9/kitty/", line 748, in parse_args
  File "lib/python3.9/kitty/", line 517, in parse_cmdline
  File "lib/python3.9/kitty/", line 464, in needs_arg
  File "lib/python3.9/kitty/", line 319, in __call__
  File "lib/python3.9/kitty/", line 206, in prettify
  File "lib/python3.9/", line 210, in sub
  File "lib/python3.9/kitty/", line 204, in sub
KeyError: 'envvar'

~$:1 kitty --version
kitty 0.22.0 created by Kovid Goyal
@kbd kbd added the bug label Jul 26, 2021
Copy link

I too got this error. Git bisect led me to to this change.

When this line of code is executed it tries to end a key named envvar but fails. The key env is present but not envvar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

2 participants