--interactive/-i and --score/-s do not conflict in Query::query()
This commit is contained in:
parent
bd71cf3a5d
commit
226d7deeb4
|
|
@ -68,8 +68,8 @@ _arguments "${_arguments_options[@]}" \
|
|||
'(-l --list)--interactive[Use interactive selection]' \
|
||||
'(-i --interactive)-l[List all matching directories]' \
|
||||
'(-i --interactive)--list[List all matching directories]' \
|
||||
'(-i --interactive)-s[Print score with results]' \
|
||||
'(-i --interactive)--score[Print score with results]' \
|
||||
'-s[Print score with results]' \
|
||||
'--score[Print score with results]' \
|
||||
'-h[Print help information]' \
|
||||
'--help[Print help information]' \
|
||||
'-V[Print version information]' \
|
||||
|
|
|
|||
|
|
@ -112,7 +112,7 @@ pub struct Query {
|
|||
pub list: bool,
|
||||
|
||||
/// Print score with results
|
||||
#[clap(long, short, conflicts_with = "interactive")]
|
||||
#[clap(long, short)]
|
||||
pub score: bool,
|
||||
|
||||
/// Exclude a path from results
|
||||
|
|
|
|||
Loading…
Reference in New Issue