mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-07-02 13:52:20 +00:00
DRYer
This commit is contained in:
parent
7683a5d851
commit
f3112d61ef
1 changed files with 1 additions and 1 deletions
|
|
@ -321,7 +321,7 @@ def macos_cmdline(argv_args: list[str]) -> list[str]:
|
|||
if ans and ans[0] == 'kitty':
|
||||
del ans[0]
|
||||
if '-1' in ans or '--single-instance' in ans:
|
||||
if '-1' in argv_args or '--single-instance' in argv_args:
|
||||
if 'KITTY_SI_DATA' in os.environ:
|
||||
# C code will already have setup single instance
|
||||
log_error(
|
||||
'--single-instance supplied in both command line arguments and macos-launch-services-cmdline,'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue