mirror of
https://github.com/Llewellynvdm/zoxide.git
synced 2024-11-26 06:27:36 +00:00
--interactive/-i and --score/-s do not conflict in Query::query() (#342)
This commit is contained in:
parent
212585ce74
commit
302ec231ba
@ -26,6 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- Retain ownership of database file.
|
- Retain ownership of database file.
|
||||||
- Elvish: upgrade to new try-catch syntax, upgrade minimum supported version to
|
- Elvish: upgrade to new try-catch syntax, upgrade minimum supported version to
|
||||||
v0.18.0.
|
v0.18.0.
|
||||||
|
- `zoxide query --interactive` should not conflict with `--score`.
|
||||||
|
|
||||||
## [0.8.0] - 2021-12-25
|
## [0.8.0] - 2021-12-25
|
||||||
|
|
||||||
|
4
contrib/completions/_zoxide
generated
4
contrib/completions/_zoxide
generated
@ -68,8 +68,8 @@ _arguments "${_arguments_options[@]}" \
|
|||||||
'(-l --list)--interactive[Use interactive selection]' \
|
'(-l --list)--interactive[Use interactive selection]' \
|
||||||
'(-i --interactive)-l[List all matching directories]' \
|
'(-i --interactive)-l[List all matching directories]' \
|
||||||
'(-i --interactive)--list[List all matching directories]' \
|
'(-i --interactive)--list[List all matching directories]' \
|
||||||
'(-i --interactive)-s[Print score with results]' \
|
'-s[Print score with results]' \
|
||||||
'(-i --interactive)--score[Print score with results]' \
|
'--score[Print score with results]' \
|
||||||
'-h[Print help information]' \
|
'-h[Print help information]' \
|
||||||
'--help[Print help information]' \
|
'--help[Print help information]' \
|
||||||
'-V[Print version information]' \
|
'-V[Print version information]' \
|
||||||
|
@ -112,7 +112,7 @@ pub struct Query {
|
|||||||
pub list: bool,
|
pub list: bool,
|
||||||
|
|
||||||
/// Print score with results
|
/// Print score with results
|
||||||
#[clap(long, short, conflicts_with = "interactive")]
|
#[clap(long, short)]
|
||||||
pub score: bool,
|
pub score: bool,
|
||||||
|
|
||||||
/// Exclude a path from results
|
/// Exclude a path from results
|
||||||
|
Loading…
Reference in New Issue
Block a user