mirror of
https://github.com/clap-rs/clap
synced 2024-11-10 06:44:16 +00:00
docs(complete): Clarify what flags we're using
This commit is contained in:
parent
19460ee00d
commit
059db0c139
2 changed files with 2 additions and 2 deletions
2
clap_complete/src/env/shells.rs
vendored
2
clap_complete/src/env/shells.rs
vendored
|
@ -226,7 +226,7 @@ impl EnvCompleter for Fish {
|
|||
|
||||
writeln!(
|
||||
buf,
|
||||
r#"complete -x -c {bin} -a "({var}=fish "'{completer}'" -- (commandline --current-process --tokenize --cut-at-cursor) (commandline --current-token))""#
|
||||
r#"complete --exclusive --command {bin} --arguments "({var}=fish "'{completer}'" -- (commandline --current-process --tokenize --cut-at-cursor) (commandline --current-token))""#
|
||||
)
|
||||
}
|
||||
fn write_complete(
|
||||
|
|
|
@ -1 +1 @@
|
|||
complete -x -c exhaustive -a "(COMPLETE=fish "'exhaustive'" -- (commandline --current-process --tokenize --cut-at-cursor) (commandline --current-token))"
|
||||
complete --exclusive --command exhaustive --arguments "(COMPLETE=fish "'exhaustive'" -- (commandline --current-process --tokenize --cut-at-cursor) (commandline --current-token))"
|
||||
|
|
Loading…
Reference in a new issue