mirror of
https://github.com/clap-rs/clap
synced 2024-12-13 22:32:33 +00:00
fix(from_usage): tabs and spaces should be treated equally
This commit is contained in:
parent
c630969aa3
commit
4fd44181d5
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ impl<'u> Iterator for UsageParser<'u> {
|
|||
}
|
||||
if mult { return Some(UsageToken::Multiple) }
|
||||
},
|
||||
Some(' ') | Some('=') | Some(']') | Some('>') => {
|
||||
Some(' ') | Some('=') | Some(']') | Some('>') | Some('\t') => {
|
||||
self.e += 1;
|
||||
continue
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue