fix(from_usage): tabs and spaces should be treated equally

This commit is contained in:
Kevin K 2015-04-19 14:27:05 -04:00
parent c630969aa3
commit 4fd44181d5

View file

@ -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
},