You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jj dynamic completions of option names work as expected:
$ COMPLETE=fish jj -- jj abandon --ignore-
--ignore-working-copy
--ignore-immutable
Unless there is a positional argument preceding the option
$ COMPLETE=fish jj -- jj abandon @ --ignore-
The positional arguments are defined in the "abandon" subcommand as:
```rust
#[derive(clap::Args, Clone, Debug)]
pub(crate) struct AbandonArgs {
/// The revision(s) to abandon (default: @)
#[arg(value_name = "REVSETS")]
revisions_pos: Vec<RevisionArg>,
}
```
Fix that in most cases.
Fixes#5935
0 commit comments