Handle linebreaks in custom completions. (#1162)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
If a command/flag description contains a linebreak then the shell completion script will interpret this as new command/flag. To fix this we only use the first line from the description in the output.
authored by Luap99 · committed by GitHub · parent 50258f1 · Browse files · 2 files+7 added−1 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Trailers
- Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
Diff stats
2 files+7 added−1 removed
- other:+7 added−1 removed