Commit 1109904
committed
clar: pass a string for a
When `clar_parse_args()` encounters an unhandled command-line option, it
wants to print out an error message that says so, and show the option
that it encountered. However, the format claims that it wants to show a
string, whereas using `argument[1]` provided only the first character.
This was side-stepped in upstream `clar` in 7eaea8b2da (clar: argument
parsing improvements, 2025-01-16) by not even showing the option
anymore.
Let's just fix this in Git until the next time Git synchronizes with an
upstream `clar` version again.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>%s format placeholder1 parent 9c2cfaa commit 1109904
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
558 | 558 | | |
559 | 559 | | |
560 | 560 | | |
561 | | - | |
| 561 | + | |
562 | 562 | | |
563 | 563 | | |
564 | 564 | | |
| |||
0 commit comments