fix: allow hyphen-leading --format templates
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Clap treated a space-separated --format value that starts with '-' as a new flag. Enable allow_hyphen_values for --format (same as --and) and add a regression covering markdown-list-style templates. See #2126.
authored by Jason Wang · committed by Thayne McCombs · parent bb80489 · Browse files · 3 files+14 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: Jason Wang <vulragrag@gmail.com>
Diff stats
3 files+14 added−1 removed
- tests:+11 added−0 removed
- other:+3 added−1 removed