mirror of
https://github.com/uutils/uutils-args.git
synced 2026-06-10 16:13:08 -07:00
fix documented list of supported shell completions
This commit is contained in:
committed by
Daniel Hofstetter
parent
e50cf46ab7
commit
6d2b4f423b
+1
-1
@@ -76,6 +76,6 @@ pub fn render(c: &Command, shell: &str) -> String {
|
||||
"nu" | "nushell" => nu::render(c),
|
||||
"man" => man::render(c),
|
||||
"sh" | "bash" | "csh" | "elvish" | "powershell" => panic!("shell '{shell}' completion is not implemented yet!"),
|
||||
_ => panic!("unknown option '{shell}'! Expected one of: \"md\", \"fish\", \"zsh\", \"man\", \"sh\", \"bash\", \"csh\", \"elvish\", \"powershell\""),
|
||||
_ => panic!("unknown option '{shell}'! Expected one of: \"md\", \"fish\", \"zsh\", \"nu[shell]\", \"man\", \"sh\", \"bash\", \"csh\", \"elvish\", \"powershell\""),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@ Shell completions and documentation can be generated automatically by this crate
|
||||
cargo run --features parse-is-complete -- [shell]
|
||||
```
|
||||
|
||||
The `[shell]` value here can be `fish`, `zsh`, `bash`, `powershell`, `elvish` or `nu`.
|
||||
The `[shell]` value here can be `fish`, `zsh`, `nu`, `sh`, `bash`, `csh`, `elvish`, or `powershell`.
|
||||
|
||||
> **Note**: Some of these remain unimplemented as of writing.
|
||||
|
||||
@@ -47,4 +47,4 @@ If you do not want to hijack the [`Options::parse`](crate::Options::parse) funct
|
||||
[Up](super)
|
||||
[Next]()
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user