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

Closed
kbd opened this issue Jul 26, 2021 · 1 comment
Closed

Bug in kitty --help #3869

kbd opened this issue Jul 26, 2021 · 1 comment
Labels

Comments

@kbd
Copy link

kbd commented Jul 26, 2021

~$ kitty --help 
[207 15:21:09.164617] Traceback (most recent call last):
  File "lib/python3.9/kitty/main.py", line 344, in main
  File "lib/python3.9/kitty/main.py", line 314, in _main
  File "lib/python3.9/kitty/cli.py", line 748, in parse_args
  File "lib/python3.9/kitty/cli.py", line 517, in parse_cmdline
  File "lib/python3.9/kitty/cli.py", line 464, in needs_arg
  File "lib/python3.9/kitty/cli.py", line 319, in __call__
  File "lib/python3.9/kitty/cli.py", line 206, in prettify
  File "lib/python3.9/re.py", line 210, in sub
  File "lib/python3.9/kitty/cli.py", 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
@chadcatlett
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
Labels
Projects
None yet
Development

No branches or pull requests

2 participants