diff --git a/assets/shell-completion/bash b/assets/shell-completion/bash index c7a22793a..b753263fc 100644 --- a/assets/shell-completion/bash +++ b/assets/shell-completion/bash @@ -1450,7 +1450,7 @@ _wezterm() { return 0 ;; wezterm__replay) - opts="-h --explain --help " + opts="-h --explain --explain-only --cat --help " if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 diff --git a/assets/shell-completion/fish b/assets/shell-completion/fish index 9a7524930..aa0b2fa3d 100644 --- a/assets/shell-completion/fish +++ b/assets/shell-completion/fish @@ -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' diff --git a/assets/shell-completion/zsh b/assets/shell-completion/zsh index 04f2e1f45..da2a10afa 100644 --- a/assets/shell-completion/zsh +++ b/assets/shell-completion/zsh @@ -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' \ diff --git a/docs/changelog.md b/docs/changelog.md index eb4832697..f8e0d0501 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -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 diff --git a/docs/examples/cmd-synopsis-wezterm-replay--help.txt b/docs/examples/cmd-synopsis-wezterm-replay--help.txt index 79f174de6..1ef3d4841 100644 --- a/docs/examples/cmd-synopsis-wezterm-replay--help.txt +++ b/docs/examples/cmd-synopsis-wezterm-replay--help.txt @@ -6,5 +6,8 @@ Arguments: 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