mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-18 22:44:50 +02:00
Allow specifying multiple matching hostnames
This commit is contained in:
@@ -26,12 +26,12 @@ agr('host', 'Host environment') # {{{
|
||||
opt('hostname', '*', option_type='hostname',
|
||||
long_text='''
|
||||
The hostname the following options apply to. A glob pattern to match multiple
|
||||
hosts can be used. When not specified options apply to all hosts, until the
|
||||
hosts can be used. Multiple hostnames can also be specified separated by spaces.
|
||||
When not specified options apply to all hosts, until the
|
||||
first hostname specification is found. Note that the hostname this matches
|
||||
against is the hostname used by the remote computer, not the name you pass
|
||||
to SSH to connect to it. If you wish to include the same configuration for many
|
||||
different hosts, you can do so with the :code:`include` directive (see :doc:`conf`),
|
||||
so that you need only two lines per host.
|
||||
to SSH to connect to it. If you wish to include the same basic configuration for many
|
||||
different hosts, you can do so with the :code:`include` directive (see :doc:`conf`).
|
||||
''')
|
||||
|
||||
opt('+copy', '', option_type='copy', add_to_default=False, long_text=f'''
|
||||
|
||||
Reference in New Issue
Block a user