mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-14 14:03:58 +00:00
Tweak newly added rustc completion descriptions
Addendum to https://github.com/fish-shell/fish-shell/pull/10491
This commit is contained in:
parent
d3758d3751
commit
9ab1ec2a9e
1 changed files with 2 additions and 2 deletions
|
@ -6,14 +6,14 @@ complete -c rustc -r -s L -a 'dependency= crate= native= framework= all='
|
||||||
complete -c rustc -x -s l -a 'dylib= static= framework='
|
complete -c rustc -x -s l -a 'dylib= static= framework='
|
||||||
complete -c rustc -x -l crate-type -a 'bin lib rlib dylib cdylib staticlib proc-macro'
|
complete -c rustc -x -l crate-type -a 'bin lib rlib dylib cdylib staticlib proc-macro'
|
||||||
complete -c rustc -r -l crate-name
|
complete -c rustc -r -l crate-name
|
||||||
complete -c rustc -x -l edition -a '2015 2018 2021' -d "Specify which edition of the compiler to use"
|
complete -c rustc -x -l edition -a '2015 2018 2021' -d "Specify compiler edition"
|
||||||
complete -c rustc -x -l emit -a 'asm llvm-bc llvm-ir obj link dep-info metadata mir'
|
complete -c rustc -x -l emit -a 'asm llvm-bc llvm-ir obj link dep-info metadata mir'
|
||||||
set -l rustc_print_infos \
|
set -l rustc_print_infos \
|
||||||
crate-name file-names sysroot target-libdir cfg calling-conventions \
|
crate-name file-names sysroot target-libdir cfg calling-conventions \
|
||||||
target-list target-cpus target-features relocation-models code-models \
|
target-list target-cpus target-features relocation-models code-models \
|
||||||
tls-models target-spec-json all-target-specs-json native-static-libs \
|
tls-models target-spec-json all-target-specs-json native-static-libs \
|
||||||
stack-protector-strategies link-args deployment-target
|
stack-protector-strategies link-args deployment-target
|
||||||
complete -c rustc -x -l print -a "$rustc_print_infos" -d "print compiler information"
|
complete -c rustc -x -l print -a "$rustc_print_infos" -d "Print compiler information"
|
||||||
complete -c rustc -s g -d "Equivalent to -C debuginfo=2"
|
complete -c rustc -s g -d "Equivalent to -C debuginfo=2"
|
||||||
complete -c rustc -s O -d "Equivalent to -C opt-level=2"
|
complete -c rustc -s O -d "Equivalent to -C opt-level=2"
|
||||||
complete -c rustc -r -s o -d "Write output to <filename>"
|
complete -c rustc -r -s o -d "Write output to <filename>"
|
||||||
|
|
Loading…
Reference in a new issue