Docs: Use --help long option name in the document

Remove the extra empty line in the CLI help for `--replay-commands`.
This commit is contained in:
pagedown 2022-08-24 13:27:06 +08:00
parent 64a202a125
commit 0e0578ff49
No known key found for this signature in database
GPG Key ID: E921CF18AC8FF6EB
3 changed files with 2 additions and 3 deletions

View File

@ -193,7 +193,7 @@ The :opt:`remote_control_password` can be specified multiple times to create
different passwords with different capabilities. Run the following to get a different passwords with different capabilities. Run the following to get a
list of all action names:: list of all action names::
kitty @ -h kitty @ --help
You can even use glob patterns to match action names, for example: You can even use glob patterns to match action names, for example:

View File

@ -779,7 +779,6 @@ Output commands received from child process to STDOUT.
Replay previously dumped commands. Specify the path to a dump file previously Replay previously dumped commands. Specify the path to a dump file previously
created by :option:`{appname} --dump-commands`. You created by :option:`{appname} --dump-commands`. You
can open a new kitty window to replay the commands with:: can open a new kitty window to replay the commands with::
{appname} sh -c "{appname} --replay-commands /path/to/dump/file; read" {appname} sh -c "{appname} --replay-commands /path/to/dump/file; read"

View File

@ -2711,7 +2711,7 @@ Glob patterns can be used too, for example::
To get a list of available actions, run:: To get a list of available actions, run::
kitty @ -h kitty @ --help
A set of actions to be allowed when no password is sent can be specified by using an empty A set of actions to be allowed when no password is sent can be specified by using an empty
password, for example:: password, for example::