mirror of
https://github.com/clap-rs/clap
synced 2025-01-07 10:18:48 +00:00
Merge pull request #4596 from orf/patch-2
Fix typo in clap-derive error message
This commit is contained in:
commit
2ce5f46f5c
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ impl ClapAttr {
|
||||||
AttrValue::Expr(_) | AttrValue::Call(_) => {
|
AttrValue::Expr(_) | AttrValue::Call(_) => {
|
||||||
abort!(
|
abort!(
|
||||||
self.name,
|
self.name,
|
||||||
"attribute `{}` can only accept string litersl",
|
"attribute `{}` can only accept string literals",
|
||||||
self.name
|
self.name
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue