kitty @ -> kitten @

This commit is contained in:
Kovid Goyal 2024-07-08 05:56:02 +05:30
parent 8327222146
commit 3f0604c45f
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -8,7 +8,7 @@
from kitty.cli import CompletionSpec, get_defaults_from_seq, parse_args, parse_option_spec
from kitty.cli_stub import RCOptions as R
from kitty.constants import appname, list_kitty_resources, running_in_kitty
from kitty.constants import list_kitty_resources, running_in_kitty
from kitty.types import AsyncResponse
if TYPE_CHECKING:
@ -429,7 +429,7 @@ def handle_streamed_data(self, data: bytes, payload_get: PayloadGetType) -> Unio
def cli_params_for(command: RemoteCommand) -> Tuple[Callable[[], str], str, str, str]:
return (command.options_spec or '\n').format, command.args.spec, command.desc, f'{appname} @ {command.name}'
return (command.options_spec or '\n').format, command.args.spec, command.desc, f'kitten @ {command.name}'
def parse_subcommand_cli(command: RemoteCommand, args: ArgsType) -> Tuple[Any, ArgsType]: