clap/clap_generate/tests
Josh Holland 5948754d2f fix(completions): improve correctness of completions when whitespace is involved
compgen takes exactly one "word" argument; if multiple are passed, it
will ignore all but the first. If `$cur` is not quoted and contains
whitespace, it will be expanded into multiple words, so the completions
will be based only on the first word of `$cur`, which is clearly not
correct.

To fix this, quote `$cur` to prevent word splitting, where necessary
(Bash does not perform word splitting inside the extended test command
`[[`, so quotes aren't necessary there).
2020-05-12 01:32:15 +02:00
..
completions.rs fix(completions): improve correctness of completions when whitespace is involved 2020-05-12 01:32:15 +02:00
version-numbers.rs Refactor clap_generate 2020-02-07 07:52:04 +01:00