ok/jj
1
0
Fork 0
forked from mirrors/jj

Fix output of jj debug completion --help

The help strings for fish and zsh were inverted.
This commit is contained in:
Samuel Tardieu 2023-01-22 10:24:20 +01:00
parent 879f585b21
commit b53f004372
2 changed files with 7 additions and 5 deletions

View file

@ -98,6 +98,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
and duplicate commit no longer crashes. The fix should also resolve any remaining
instances of https://github.com/martinvonz/jj/issues/27.
* Fix the output of `jj debug completion --help` by reversing fish and zsh text.
### Contributors
Thanks to the people who made this release happen!

View file

@ -833,17 +833,17 @@ struct DebugCompletionArgs {
///
/// Apply it by running this:
///
/// autoload -U compinit
/// compinit
/// source <(jj debug completion --zsh | sed '$d') # remove the last line
/// compdef _jj jj
/// jj debug completion --fish | source
#[arg(long, verbatim_doc_comment)]
fish: bool,
/// Print a completion script for Zsh
///
/// Apply it by running this:
///
/// jj debug completion --fish | source
/// autoload -U compinit
/// compinit
/// source <(jj debug completion --zsh | sed '$d') # remove the last line
/// compdef _jj jj
#[arg(long, verbatim_doc_comment)]
zsh: bool,
}