docs: update for wezterm replay changes

refs: #3446
This commit is contained in:
Wez Furlong committed 2023-04-08 08:35:14 -07:00
1 parent b4c8f7c01f
commit 436847665d
5 files changed
+11 -3

No files matched your search

+1 -1
View File
@@ -1450,7 +1450,7 @@ _wezterm() {
return 0
;;
wezterm__replay)
opts="-h --explain --help <CAST_FILE>"
opts="-h --explain --explain-only --cat --help <CAST_FILE>"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
+2
View File
@@ -159,6 +159,8 @@ complete -c wezterm -n "__fish_seen_subcommand_from imgcat" -s h -l help -d 'Pri
complete -c wezterm -n "__fish_seen_subcommand_from set-working-directory" -s h -l help -d 'Print help'
complete -c wezterm -n "__fish_seen_subcommand_from record" -s h -l help -d 'Print help'
complete -c wezterm -n "__fish_seen_subcommand_from replay" -l explain -d 'Explain what is being sent/received'
complete -c wezterm -n "__fish_seen_subcommand_from replay" -l explain-only -d 'Don\'t replay, just show the explanation'
complete -c wezterm -n "__fish_seen_subcommand_from replay" -l cat -d 'Just emit raw escape sequences all at once, with no timing information'
complete -c wezterm -n "__fish_seen_subcommand_from replay" -s h -l help -d 'Print help'
complete -c wezterm -n "__fish_seen_subcommand_from shell-completion" -l shell -d 'Which shell to generate for' -r -f -a "{bash ,elvish ,fish ,power-shell ,zsh ,fig }"
complete -c wezterm -n "__fish_seen_subcommand_from shell-completion" -s h -l help -d 'Print help'
+2
View File
@@ -391,6 +391,8 @@ _arguments "${_arguments_options[@]}" \
(replay)
_arguments "${_arguments_options[@]}" \
'--explain[Explain what is being sent/received]' \
'(--explain)--explain-only[Don'\''t replay, just show the explanation]' \
'(--explain)--cat[Just emit raw escape sequences all at once, with no timing information]' \
'-h[Print help]' \
'--help[Print help]' \
':cast_file:_files' \
+1
View File
@@ -40,6 +40,7 @@ As features stabilize some brief notes about them will accumulate here.
* [quick_select_patterns](config/lua/config/quick_select_patterns.md) and
[hyperlink_rules](config/lua/config/hyperlink_rules.md) now support
backreferences and look around assertions. #3247
* [wezterm replay](cli/replay.md) new options `--explain-only`, `--cat`. #3446
#### New
* [PromptInputLine](config/lua/keyassignment/PromptInputLine.md) action for
@@ -6,5 +6,8 @@ Arguments:
<CAST_FILE>
Options:
--explain Explain what is being sent/received
-h, --help Print help
--explain Explain what is being sent/received
--explain-only Don't replay, just show the explanation
--cat Just emit raw escape sequences all at once, with no timing
information
-h, --help Print help