Comments (1)
I tried out the fix implemented in 0ff1e50 and while it prevents the error message in this issue, I think the completions are still partially incorrect:
$ rustc -Z
-Z(default: (`split`))
-Zall (options: none, all, default, generic-activity, query-provider, query-cache-…)
-Zallow-features= (only allow the listed language features to be enabled in code (…)
-Zalways-encode-mir= (encode MIR of all functions into the crate metadata (default…)
-Zasm-comments= (generate comments into the assembly (may change behavior) (defaul…)
-Zassert-incr-state= (assert that the incremental cache is in given state: either …)
-Zassume-incomplete-release= (make cfg(version) treat the current version as incom…)
-Zbinary-dep-depinfo= (include artifacts (sysroot, crate dependencies) used during…)
-Zbox-noalias= (emit noalias metadata for box (default: yes))
-Zbranch-protection= (set options for branch target identification and pointer aut…)
-Zby (the linker)
-Zcf-protection= (instrument control-flow architecture protection)
…and 216 more rows
I think this is due to the help having multiple lines in certain cases, mainly if there are multiple choices for the right-hand-side of an option, e.g.
-Z split-dwarf-kind=val -- split dwarf variant (only if -Csplit-debuginfo is enabled and on relevant platform)
(default: `split`)
`split`: sections which do not require relocation are written into a DWARF object (`.dwo`)
file which is ignored by the linker
`single`: sections which do not require relocation are written into object file but ignored
by the linker
I'm not sure if it makes sense to include the extra lines in the description, since it would probably get cut off anyway, so maybe just filtering out any lines not containing -Z
would be sufficient.
Not sure if this is worth a new issue or this should be reopened?
from fish-shell.
Related Issues (20)
- Directory/glob tab expansion bug in prerelease (HEAD) HOT 2
- git add command very slow when repository has many files HOT 5
- kmod upstream integration HOT 5
- commandline: -xpc: unknown option HOT 1
- problem with activating Python virtualenv HOT 2
- Terminal gets "broken" if I `kill -9` screen HOT 18
- Stopping fish from special casing `cd` auto-suggestions from history HOT 8
- iTerm2 default alt-left and alt-right key bindings no longer recognized HOT 2
- Regressions in TERM support under FreeBSD HOT 11
- `fish_indent` regression
- `__fish_complete_list {{separator}} {{function}}` duplicates slashes when they already exist
- error: Error when renaming history file: Device or resource busy on nixos with impermanence HOT 7
- Request: Posix Complance when called as sh HOT 3
- Web pages opened with the fish_config command do not have abbreviations HOT 2
- VIM MODE NEED TO PRESS TWICE `l` TO ACCEPT auto-complete HOT 2
- Combining `fish_commandline_append` and `end-of-line` HOT 2
- Please replace en_US.UTF-8 in __fish_set_locale.fish with C.UTF-8 HOT 5
- forward-arg, forward-token? HOT 1
- history breaks after reboot HOT 3
- ctrl-backspace in Rust HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fish-shell.